try{
var g,aa=aa||{},k=this,l=function(a){return void 0!==a},ba=function(a,b,c){a=a.split(".");c=c||k;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&l(b)?c[d]=b:c[d]?c=c[d]:c=c[d]={}},ca=function(a,b){for(var c=a.split("."),d=b||k,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d},da=function(){},ea=function(a){a.Pa=function(){return a.Gg?a.Gg:a.Gg=new a}},fa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";
if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";
return b},ga=function(a){return null===a},ha=function(a){return null!=a},ia=function(a){return"array"==fa(a)},ka=function(a){var b=fa(a);return"array"==b||"object"==b&&"number"==typeof a.length},p=function(a){return"string"==typeof a},la=function(a){return"boolean"==typeof a},q=function(a){return"number"==typeof a},ma=function(a){return"function"==fa(a)},na=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},qa=function(a){return a[oa]||(a[oa]=++pa)},oa="closure_uid_"+(1E9*Math.random()>>>
0),pa=0,ra=function(a,b,c){return a.call.apply(a.bind,arguments)},sa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},t=function(a,b,c){t=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ra:sa;return t.apply(null,arguments)},ta=function(a,b){var c=
Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},u=Date.now||function(){return+new Date},v=function(a,b){function c(){}c.prototype=b.prototype;a.ha=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ln=function(a,c,f){for(var h=Array(arguments.length-2),m=2;m<arguments.length;m++)h[m-2]=arguments[m];return b.prototype[c].apply(a,h)}};
var ua=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,ua);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};v(ua,Error);ua.prototype.name="CustomError";var va;var wa=function(a,b){return 0==a.lastIndexOf(b,0)},xa=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},ya=function(a){return/^[\s\xa0]*$/.test(a)},za=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Aa=function(a,b){var c=String(a).toLowerCase(),d=String(b).toLowerCase();return c<d?-1:c==d?0:1},Ia=function(a){if(!Ba.test(a))return a;-1!=
a.indexOf("&")&&(a=a.replace(Ca,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Da,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ea,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Fa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ga,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Ha,"&#0;"));return a},Ca=/&/g,Da=/</g,Ea=/>/g,Fa=/"/g,Ga=/'/g,Ha=/\x00/g,Ba=/[\x00&<>"']/,Ja=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Ka=function(a,b,c){a=l(c)?a.toFixed(c):String(a);
c=a.indexOf(".");-1==c&&(c=a.length);return Ja("0",Math.max(0,b-c))+a},La=function(a){return null==a?"":String(a)},Ma=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^u()).toString(36)},Oa=function(a,b){for(var c=0,d=za(String(a)).split("."),e=za(String(b)).split("."),f=Math.max(d.length,e.length),h=0;0==c&&h<f;h++){var m=d[h]||"",n=e[h]||"",r=RegExp("(\\d*)(\\D*)","g"),w=RegExp("(\\d*)(\\D*)","g");do{var A=r.exec(m)||["","",""],F=w.exec(n)||
["","",""];if(0==A[0].length&&0==F[0].length)break;c=Na(0==A[1].length?0:parseInt(A[1],10),0==F[1].length?0:parseInt(F[1],10))||Na(0==A[2].length,0==F[2].length)||Na(A[2],F[2])}while(0==c)}return c},Na=function(a,b){return a<b?-1:a>b?1:0},Qa=function(a){var b=Number(a);return 0==b&&ya(a)?NaN:b},Ra=function(a){isFinite(a)&&(a=String(a));return p(a)?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},Ta=function(a,b,c){a=a.split(b);for(var d=[];0<c&&a.length;)d.push(a.shift()),c--;a.length&&d.push(a.join(b)); return d};
var Ua=function(){};var Va=function(a){return a[a.length-1]},Wa=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(p(a))return p(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},x=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=p(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Xa=function(a,b){for(var c=p(a)?
a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)},Ya=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=p(a)?a.split(""):a,m=0;m<d;m++)if(m in h){var n=h[m];b.call(c,n,m,a)&&(e[f++]=n)}return e},y=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=p(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e},Za=Array.prototype.reduce?
function(a,b,c,d){d&&(b=t(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;x(a,function(c,h){e=b.call(d,e,c,h,a)});return e},$a=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=p(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1},ab=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=p(a)?a.split(""):a,f=0;f<d;f++)if(f in
e&&!b.call(c,e[f],f,a))return!1;return!0},cb=function(a,b,c){b=bb(a,b,c);return 0>b?null:p(a)?a.charAt(b):a[b]},bb=function(a,b,c){for(var d=a.length,e=p(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1},db=function(a,b,c){a:{for(var d=p(a)?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:p(a)?a.charAt(b):a[b]},z=function(a,b){return 0<=Wa(a,b)},eb=function(a){return 0==a.length},fb=function(a){if(!ia(a))for(var b=a.length-
1;0<=b;b--)delete a[b];a.length=0},hb=function(a,b,c){var d;2==arguments.length||0>(d=Wa(a,c))?a.push(b):gb(a,d,0,b)},jb=function(a,b){var c=Wa(a,b),d;(d=0<=c)&&ib(a,c);return d},ib=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length},kb=function(a,b,c){b=bb(a,b,c);return 0<=b?(ib(a,b),!0):!1},lb=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},B=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},mb=function(a,b){for(var c=
1;c<arguments.length;c++){var d=arguments[c];if(ka(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}},gb=function(a,b,c,d){Array.prototype.splice.apply(a,nb(arguments,1))},nb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},ob=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++],f;f=e;f=na(f)?"o"+qa(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=
c},qb=function(a,b){a.sort(b||pb)},rb=function(a,b){var c=pb;qb(a,function(a,e){return c(b(a),b(e))})},sb=function(a){rb(a,function(a){return a.t})},vb=function(a,b,c){if(!ka(a)||!ka(b)||a.length!=b.length)return!1;var d=a.length;c=c||ub;for(var e=0;e<d;e++)if(!c(a[e],b[e]))return!1;return!0},pb=function(a,b){return a>b?1:a<b?-1:0},ub=function(a,b){return a===b},wb=function(a,b){for(var c={},d=0;d<a.length;d++){var e=a[d],f=b.call(void 0,e,d,a);l(f)&&(c[f]||(c[f]=[])).push(e)}return c};
var xb;a:{var yb=k.navigator;if(yb){var zb=yb.userAgent;if(zb){xb=zb;break a}}xb=""}var C=function(a){return-1!=xb.indexOf(a)};var Ab=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Bb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0},Cb=function(a){var b=0,c;for(c in a)b++;return b},Db=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Eb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Fb=function(a,b){for(var c=ka(b),d=c?b:arguments,c=c?0:1;c<d.length&&(a=a[d[c]],l(a));c++);return a},Gb=function(a,b){return null!==a&&b in a},Hb=function(a,b){for(var c in a)if(a[c]==b)return!0;
return!1},Jb=function(a){var b=Ib,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Kb=function(a){for(var b in a)return!1;return!0},Lb=function(a,b,c){return null!==a&&b in a?a[b]:c},Mb=function(a,b){var c=new D;return b in a?a[b]:a[b]=c},Nb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Ob=function(a){var b=fa(a);if("object"==b||"array"==b){if(ma(a.clone))return a.clone();var b="array"==b?[]:{},c;for(c in a)b[c]=Ob(a[c]);return b}return a},Pb=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},
Qb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Rb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Qb.length;f++)c=Qb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Sb=function(a){var b=arguments.length;if(1==b&&ia(arguments[0]))return Sb.apply(null,arguments[0]);if(b%2)throw Error("b");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c};
var Tb=function(){return C("Opera")||C("OPR")},Ub=function(){return(C("Chrome")||C("CriOS"))&&!Tb()&&!C("Edge")};var Vb=function(){return C("iPhone")&&!C("iPod")&&!C("iPad")};var Wb=function(){return k.navigator||null},Xb=Tb(),Yb=C("Trident")||C("MSIE"),Zb=C("Edge"),$b=C("Gecko")&&!(-1!=xb.toLowerCase().indexOf("webkit")&&!C("Edge"))&&!(C("Trident")||C("MSIE"))&&!C("Edge"),ac=-1!=xb.toLowerCase().indexOf("webkit")&&!C("Edge"),bc=ac&&C("Mobile"),cc=Wb(),dc=cc&&cc.platform||"",ec=C("Macintosh"),fc=C("Windows"),gc=C("Linux")||C("CrOS"),hc=C("Android"),ic=Vb(),jc=C("iPad"),kc=function(){var a=k.document;return a?a.documentMode:void 0},lc;
a:{var mc="",nc=function(){var a=xb;if($b)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Zb)return/Edge\/([\d\.]+)/.exec(a);if(Yb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ac)return/WebKit\/(\S+)/.exec(a);if(Xb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();nc&&(mc=nc?nc[1]:"");if(Yb){var oc=kc();if(null!=oc&&oc>parseFloat(mc)){lc=String(oc);break a}}lc=mc}var pc=lc,qc={},rc=function(a){return qc[a]||(qc[a]=0<=Oa(pc,a))},sc=k.document,tc=sc&&Yb?kc()||("CSS1Compat"==sc.compatMode?parseInt(pc,10):5):void 0;
var uc=C("Firefox"),vc=Vb()||C("iPod"),wc=C("iPad"),yc=C("Android")&&!(Ub()||C("Firefox")||Tb()||C("Silk")),zc=Ub(),Ac=C("Safari")&&!(Ub()||C("Coast")||Tb()||C("Edge")||C("Silk")||C("Android"))&&!(Vb()||C("iPad")||C("iPod"));var Bc=null,Cc=null,Ec=function(a){Dc();for(var b=Bc,c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,h=f?a[d+1]:0,m=d+2<a.length,n=m?a[d+2]:0,r=e>>2,e=(e&3)<<4|h>>4,h=(h&15)<<2|n>>6,n=n&63;m||(n=64,f||(h=64));c.push(b[r],b[e],b[h],b[n])}return c.join("")},Gc=function(a){var b="";Fc(a,function(a){b+=String.fromCharCode(a)});return b},Fc=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=Cc[c];if(null!=e)return e;if(!ya(c))throw Error("c`"+c);}return b}Dc();for(var d=0;;){var e=
c(-1),f=c(0),h=c(64),m=c(64);if(64===m&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=m&&b(h<<6&192|m))}},Dc=function(){if(!Bc){Bc={};Cc={};for(var a=0;65>a;a++)Bc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Cc[Bc[a]]=a,62<=a&&(Cc["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
var Hc=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("d`"+a);},Jc=function(a,b){return(new Ic(b)).wb(a)},Ic=function(a){this.g=a};Ic.prototype.wb=function(a){var b=[];Kc(this,a,b);return b.join("")};
var Kc=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(ia(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Kc(a,a.g?a.g.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Lc(d,c),c.push(":"),Kc(a,a.g?a.g.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Lc(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("e`"+typeof b);}}},Mc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Nc=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Lc=function(a,b){b.push('"',a.replace(Nc,function(a){var b=Mc[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1), Mc[a]=b);return b}),'"')};
var E=function(){},Pc="function"==typeof Uint8Array,H=function(a,b,c,d,e){a.g=null;b||(b=c?[c]:[]);a.am=c?String(c):void 0;a.J=0===c?-1:0;a.Da=b;a:{if(a.Da.length&&(b=a.Da.length-1,(c=a.Da[b])&&"object"==typeof c&&!ia(c))){a.l=b-a.J;a.m=c;break a}-1<d?(a.l=d,a.m=null):a.l=Number.MAX_VALUE}a.Vl={};if(e)for(d=0;d<e.length;d++)b=e[d],b<a.l?(b+=a.J,a.Da[b]=a.Da[b]||Qc):a.m[b]=a.m[b]||Qc},Qc=[],I=function(a,b){if(b<a.l){var c=b+a.J,d=a.Da[c];return d===Qc?a.Da[c]=[]:d}d=a.m[b];return d===Qc?a.m[b]=[]:
d},Rc=function(a,b){var c=I(a,b);return null==c?c:+c},J=function(a,b,c){b<a.l?a.Da[b+a.J]=c:a.m[b]=c},K=function(a,b,c,d){a.g||(a.g={});if(!a.g[c]){var e=I(a,c);if(d||e)a.g[c]=new b(e)}return a.g[c]},L=function(a,b,c){a.g||(a.g={});if(!a.g[c]){for(var d=I(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.g[c]=e}b=a.g[c];b==Qc&&(b=a.g[c]=[]);return b},M=function(a,b,c){a.g||(a.g={});var d=c?c.Da:c;a.g[b]=c;J(a,b,d)},N=function(a,b,c){a.g||(a.g={});c=c||[];for(var d=[],e=0;e<c.length;e++)d[e]=c[e].Da;
a.g[b]=c;J(a,b,d)},Sc=k.JSON&&k.JSON.stringify||"object"===typeof JSON&&JSON.stringify;E.prototype.wb=Pc?function(){var a=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){return Ec(this)};try{var b=Sc.call(null,this.Da,Tc)}finally{Uint8Array.prototype.toJSON=a}return b}:Sc?function(){return Sc.call(null,this.Da,Tc)}:function(){return Jc(this.Da,Tc)};
var Tc=function(a,b){if(q(b)){if(isNaN(b))return"NaN";if(Infinity===b)return"Infinity";if(-Infinity===b)return"-Infinity"}return b},Vc=function(a){var b=Uc[a[0]];if(!b)throw Error("f`"+a[0]);return new b(a)};E.prototype.toString=function(){return this.Da.toString()};
var Xc=function(a,b){a=a||{};b=b||{};var c={},d;for(d in a)c[d]=0;for(d in b)c[d]=0;for(d in c)if(!Wc(a[d],b[d]))return!1;return!0},Wc=function(a,b){if(a==b)return!0;if(!na(a)||!na(b)||a.constructor!=b.constructor)return!1;if(Pc&&a.constructor===Uint8Array){if(a.length!=b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!=b[c])return!1;return!0}if(a.constructor===Array){for(var d=void 0,e=void 0,f=Math.max(a.length,b.length),c=0;c<f;c++){var h=a[c],m=b[c];h&&h.constructor==Object&&(d=h,h=void 0);
m&&m.constructor==Object&&(e=m,m=void 0);if(!Wc(h,m))return!1}return d||e?(d=d||{},e=e||{},Xc(d,e)):!0}if(a.constructor===Object)return Xc(a,b);throw Error("g");},P=function(a){return new a.constructor(Yc(a.Da))},Yc=function(a){var b;if(ia(a)){for(var c=Array(a.length),d=0;d<a.length;d++)null!=(b=a[d])&&(c[d]="object"==typeof b?Yc(b):b);return c}c={};for(d in a)null!=(b=a[d])&&(c[d]="object"==typeof b?Yc(b):b);return c},Q=function(a,b){Uc[a]=b;b.messageId=a},Uc={};
var Zc=function(){this.J=this.J;this.Yb=this.Yb};Zc.prototype.J=!1;Zc.prototype.dispose=function(){this.J||(this.J=!0,this.X())};Zc.prototype.m=function(a){$c(this,ta(ad,a))};var $c=function(a,b){a.J?b.call(void 0):(a.Yb||(a.Yb=[]),a.Yb.push(l(void 0)?t(b,void 0):b))};Zc.prototype.X=function(){if(this.Yb)for(;this.Yb.length;)this.Yb.shift()()};var ad=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
var bd=!Yb||9<=Number(tc),cd=Yb&&!rc("9");!ac||rc("528");$b&&rc("1.9b")||Yb&&rc("8")||Xb&&rc("9.5")||ac&&rc("528");$b&&!rc("8")||Yb&&rc("9");var R=function(a,b){this.type=a;this.i=this.target=b;this.Gh=!0};R.prototype.J=function(){this.Gh=!1};var dd=function(a){return ac?"webkit"+a:Xb?"o"+a.toLowerCase():a.toLowerCase()},ed=dd("AnimationStart"),fd=dd("AnimationEnd"),gd=dd("AnimationIteration"),hd=dd("TransitionEnd");var id=function(a){id[" "](a);return a};id[" "]=da;var jd=function(a,b){try{return id(a[b]),!0}catch(c){}return!1};var kd=function(a,b){R.call(this,a?a.type:"");this.i=this.target=null;this.clientY=this.clientX=0;this.g=null;a&&this.init(a,b)};v(kd,R);
kd.prototype.init=function(a,b){this.type=a.type;var c=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.i=b;var d=a.relatedTarget;d&&$b&&jd(d,"nodeName");null===c?(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY):(this.clientX=void 0!==c.clientX?c.clientX:c.pageX,this.clientY=void 0!==c.clientY?c.clientY:c.pageY);this.g=a;a.defaultPrevented&&this.J()}; kd.prototype.J=function(){kd.ha.J.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,cd)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
var ld="closure_listenable_"+(1E6*Math.random()|0),md=function(a){return!(!a||!a[ld])},nd=0;var od=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.Mb=!!d;this.qb=e;this.key=++nd;this.removed=this.Xd=!1},pd=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.qb=null};var qd=function(a){this.src=a;this.g={};this.i=0};qd.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.i++);var h=rd(a,b,d,e);-1<h?(b=a[h],c||(b.Xd=!1)):(b=new od(b,this.src,f,!!d,e),b.Xd=c,a.push(b));return b};qd.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=rd(e,b,c,d);return-1<b?(pd(e[b]),ib(e,b),0==e.length&&(delete this.g[a],this.i--),!0):!1};
var sd=function(a,b){var c=b.type;if(!(c in a.g))return!1;var d=jb(a.g[c],b);d&&(pd(b),0==a.g[c].length&&(delete a.g[c],a.i--));return d};qd.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.g)if(!a||c==a){for(var d=this.g[c],e=0;e<d.length;e++)++b,pd(d[e]);delete this.g[c];this.i--}return b}; var td=function(a,b,c,d,e){a=a.g[b.toString()];b=-1;a&&(b=rd(a,c,d,e));return-1<b?a[b]:null},rd=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.Mb==!!c&&f.qb==d)return e}return-1};
var ud="closure_lm_"+(1E6*Math.random()|0),vd={},wd=0,xd=function(a,b,c,d,e){if(ia(b)){for(var f=0;f<b.length;f++)xd(a,b[f],c,d,e);return null}c=yd(c);return md(a)?a.listen(b,c,d,e):zd(a,b,c,!1,d,e)},zd=function(a,b,c,d,e,f){if(!b)throw Error("h");var h=!!e,m=Ad(a);m||(a[ud]=m=new qd(a));c=m.add(b,c,d,e,f);if(c.proxy)return c;d=Bd();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(Cd(b.toString()),d);else throw Error("i");
wd++;return c},Bd=function(){var a=Dd,b=bd?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Ed=function(a,b,c,d,e){if(ia(b)){for(var f=0;f<b.length;f++)Ed(a,b[f],c,d,e);return null}c=yd(c);return md(a)?Fd(a,b,c,d,e):zd(a,b,c,!0,d,e)},Gd=function(a,b,c,d,e){if(ia(b))for(var f=0;f<b.length;f++)Gd(a,b[f],c,d,e);else c=yd(c),md(a)?a.T(b,c,d,e):a&&(a=Ad(a))&&(b=td(a,b,c,!!d,e))&&Hd(b)},Hd=function(a){if(q(a)||!a||a.removed)return!1;var b=
a.src;if(md(b))return sd(b.Ob,a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.Mb):b.detachEvent&&b.detachEvent(Cd(c),d);wd--;(c=Ad(b))?(sd(c,a),0==c.i&&(c.src=null,b[ud]=null)):pd(a);return!0},Id=function(a,b,c,d,e){c=yd(c);d=!!d;return md(a)?td(a.Ob,String(b),c,d,e):a?(a=Ad(a))?td(a,b,c,d,e):null:null},Cd=function(a){return a in vd?vd[a]:vd[a]="on"+a},Kd=function(a,b,c,d){var e=!0;if(a=Ad(a))if(b=a.g[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.Mb==
c&&!f.removed&&(f=Jd(f,d),e=e&&!1!==f)}return e},Jd=function(a,b){var c=a.listener,d=a.qb||a.src;a.Xd&&Hd(a);return c.call(d,b)},Dd=function(a,b){if(a.removed)return!0;if(!bd){var c=b||ca("window.event"),d=new kd(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(n){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.i;f;f=f.parentNode)c.push(f);for(var f=a.type,h=c.length-1;0<=h;h--){d.i=c[h];var m=Kd(c[h],f,!0,d),e=e&&m}for(h=
0;h<c.length;h++)d.i=c[h],m=Kd(c[h],f,!1,d),e=e&&m}return e}return Jd(a,new kd(b,this))},Ad=function(a){a=a[ud];return a instanceof qd?a:null},Ld="__closure_events_fn_"+(1E9*Math.random()>>>0),yd=function(a){if(ma(a))return a;a[Ld]||(a[Ld]=function(b){return a.handleEvent(b)});return a[Ld]};
var Md={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var Nd=function(a){return function(){return a}},Od=Nd(!0),Pd=Nd(null),Qd=function(a){return a},Rd=function(a){var b;b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}},Td=function(){var a=Sd;return function(){return!a.apply(this,arguments)}};
var Vd=function(){this.g="";this.i=Ud};Vd.prototype.Gc=!0;Vd.prototype.ic=function(){return this.g};Vd.prototype.toString=function(){return"Const{"+this.g+"}"};var Wd=function(a){return a instanceof Vd&&a.constructor===Vd&&a.i===Ud?a.g:"type_error:Const"},Ud={};
var Yd=function(){this.g="";this.i=Xd};Yd.prototype.Gc=!0;var Xd={};Yd.prototype.ic=function(){return this.g};var Zd=function(a){var b=new Yd;b.g=a;return b},$d=Zd(""),ae=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var ce=function(){this.g="";this.i=be};ce.prototype.Gc=!0;ce.prototype.ic=function(){return this.g};ce.prototype.df=!0;ce.prototype.Gd=function(){return 1};var de=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,be={},ee=function(a){var b=new ce;b.g=a;return b};ee("about:blank");
var ge=function(){this.g=fe};ge.prototype.Gc=!0;ge.prototype.ic=function(){return""};ge.prototype.df=!0;ge.prototype.Gd=function(){return 1};var fe={};var ie=function(){this.g="";this.m=he;this.i=null};ie.prototype.df=!0;ie.prototype.Gd=function(){return this.i};ie.prototype.Gc=!0;ie.prototype.ic=function(){return this.g};
var je=function(a){if(a instanceof ie&&a.constructor===ie&&a.m===he)return a.g;fa(a);return"type_error:SafeHtml"},ke=/^[a-zA-Z0-9-]+$/,le={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},ne=function(a){var b=0,c="",d=function(a){if(ia(a))x(a,d);else{var f;a instanceof ie?f=a:(f=null,a.df&&(f=a.Gd()),a=Ia(a.Gc?a.ic():String(a)),f=me(a,f));c+=je(f);f=f.Gd();0==b?b=f:0!=f&&b!=f&&(b=null)}};x(arguments,d);return me(c,b)},he={},me=function(a,b){var c=new ie;c.g=a;c.i=b;return c}; me("<!DOCTYPE html>",0);me("",0);me("<br>",0);
var oe="StopIteration"in k?k.StopIteration:{message:"StopIteration",stack:""},pe=function(){};pe.prototype.next=function(){throw oe;};pe.prototype.Lb=function(){return this};
var qe=function(a){if(a instanceof pe)return a;if("function"==typeof a.Lb)return a.Lb(!1);if(ka(a)){var b=0,c=new pe;c.next=function(){for(;;){if(b>=a.length)throw oe;if(b in a)return a[b++];b++}};return c}throw Error("w");},re=function(a,b){if(ka(a))try{x(a,b,void 0)}catch(c){if(c!==oe)throw c;}else{a=qe(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==oe)throw c;}}},se=function(a){if(ka(a))return B(a);a=qe(a);var b=[];re(a,function(a){b.push(a)});return b};
var S=function(a,b){this.i={};this.g=[];this.l=this.m=0;var c=arguments.length;if(1<c){if(c%2)throw Error("b");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){a instanceof S?(c=a.Ta(),d=a.xa()):(c=Eb(a),d=Db(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}};g=S.prototype;g.Oa=function(){return this.m};g.xa=function(){te(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.i[this.g[b]]);return a};g.Ta=function(){te(this);return this.g.concat()};
g.fd=function(a){for(var b=0;b<this.g.length;b++){var c=this.g[b];if(ue(this.i,c)&&this.i[c]==a)return!0}return!1};g.Sa=function(a,b){if(this===a)return!0;if(this.m!=a.Oa())return!1;var c=b||ve;te(this);for(var d,e=0;d=this.g[e];e++)if(!c(this.get(d),a.get(d)))return!1;return!0};var ve=function(a,b){return a===b};S.prototype.Sb=function(){return 0==this.m};S.prototype.clear=function(){this.i={};this.l=this.m=this.g.length=0};
S.prototype.remove=function(a){return ue(this.i,a)?(delete this.i[a],this.m--,this.l++,this.g.length>2*this.m&&te(this),!0):!1};var te=function(a){if(a.m!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];ue(a.i,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.m!=a.g.length){for(var e={},c=b=0;b<a.g.length;)d=a.g[b],ue(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};g=S.prototype;g.get=function(a,b){return ue(this.i,a)?this.i[a]:b};
g.set=function(a,b){ue(this.i,a)||(this.m++,this.g.push(a),this.l++);this.i[a]=b};g.forEach=function(a,b){for(var c=this.Ta(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new S(this)};g.Lb=function(a){te(this);var b=0,c=this.l,d=this,e=new pe;e.next=function(){if(c!=d.l)throw Error("x");if(b>=d.g.length)throw oe;var e=d.g[b++];return a?e:d.i[e]};return e};var ue=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
var we=function(a){return a.Oa&&"function"==typeof a.Oa?a.Oa():ka(a)||p(a)?a.length:Cb(a)},xe=function(a){if(a.xa&&"function"==typeof a.xa)return a.xa();if(p(a))return a.split("");if(ka(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Db(a)},ye=function(a){if(a.Ta&&"function"==typeof a.Ta)return a.Ta();if(!a.xa||"function"!=typeof a.xa){if(ka(a)||p(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Eb(a)}},ze=function(a){return a.Sb&&"function"==typeof a.Sb?
a.Sb():ka(a)||p(a)?eb(a):Kb(a)},Ae=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ka(a)||p(a))x(a,b,c);else for(var d=ye(a),e=xe(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},Be=function(a,b,c){if("function"==typeof a.map)return a.map(b,c);if(ka(a)||p(a))return y(a,b,c);var d,e=ye(a),f=xe(a),h=f.length;if(e){d={};for(var m=0;m<h;m++)d[e[m]]=b.call(c,f[m],e[m],a)}else for(d=[],m=0;m<h;m++)d[m]=b.call(c,f[m],void 0,a);return d},Ce=function(a,b){if("function"== typeof a.every)return a.every(b,void 0);if(ka(a)||p(a))return ab(a,b,void 0);for(var c=ye(a),d=xe(a),e=d.length,f=0;f<e;f++)if(!b.call(void 0,d[f],c&&c[f],a))return!1;return!0};
var De=function(a){this.g=new S;if(a){a=xe(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}},Ee=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+qa(a):b.substr(0,1)+a};g=De.prototype;g.Oa=function(){return this.g.Oa()};g.add=function(a){this.g.set(Ee(a),a)};g.removeAll=function(a){a=xe(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};g.remove=function(a){return this.g.remove(Ee(a))};g.clear=function(){this.g.clear()};g.Sb=function(){return this.g.Sb()};
g.contains=function(a){a=Ee(a);return ue(this.g.i,a)};var Ge=function(a){var b=Fe,c=new De;a=xe(a);for(var d=0;d<a.length;d++){var e=a[d];b.contains(e)&&c.add(e)}return c};De.prototype.xa=function(){return this.g.xa()};De.prototype.clone=function(){return new De(this)};De.prototype.Sa=function(a){return this.Oa()==we(a)&&He(this,a)};
var He=function(a,b){var c=we(b);if(a.Oa()>c)return!1;!(b instanceof De)&&5<c&&(b=new De(b));return Ce(a,function(a){var c=b;return c.contains&&"function"==typeof c.contains?c.contains(a):c.fd&&"function"==typeof c.fd?c.fd(a):ka(c)||p(c)?z(c,a):Hb(c,a)})};De.prototype.Lb=function(){return this.g.Lb(!1)};
var Ie=function(a){var b;b=Ie;var c=Error();if(Error.captureStackTrace)Error.captureStackTrace(c,b),b=String(c.stack);else{try{throw c;}catch(e){c=e}b=(b=c.stack)?String(b):null}if(b)return b;b=[];for(var c=arguments.callee.caller,d=0;c&&(!a||d<a);){b.push(Je(c));b.push("()\n");try{c=c.caller}catch(e){b.push("[exception trying to get caller]\n");break}d++;if(50<=d){b.push("[...long stack...]");break}}a&&d>=a?b.push("[...reached max depth limit...]"):b.push("[end]");return b.join("")},Je=function(a){if(Ke[a])return Ke[a]; a=String(a);if(!Ke[a]){var b=/function ([^\(]+)/.exec(a);Ke[a]=b?b[1]:"[Anonymous]"}return Ke[a]},Ke={};
var Le=function(a,b){R.call(this,a);this.json=b;var c;try{var d=b.match('".*?"')[0];c=d.substring(1,d.length-1)}catch(e){c=""}this.g=c;this.timestamp=u()};v(Le,R);var Me=function(a){a.m||(a.m=a.json?Hc(a.json):null);return a.m};var Ne=function(){},Oe,Pe,Qe=new Ne;Ne.prototype.reset=function(){Oe=void 0};
Ne.prototype.isInstalled=function(){if(!l(Oe))if(Oe=!1,Yb){try{var a=new ActiveXObject("O1d.Plugin");Oe=!0;Pe="0.1.44.29"}catch(b){}if(!Oe)try{a=new ActiveXObject("gtpo3d_host.O3DHostControl"),Oe=!0,Pe=Re(a.description)}catch(b){}if(!Oe)try{a=new ActiveXObject("o3d_host.O3DHostControl"),Oe=!0,Pe=Re(a.description)}catch(b){}}else k.navigator&&((a=navigator.mimeTypes["application/o1d"])&&a.enabledPlugin&&(Oe=!0,Pe="0.1.44.29"),Oe||(a=navigator.mimeTypes["application/vnd.gtpo3d.auto"])&&a.enabledPlugin&&
(Oe=!0,Pe=Re(a.enabledPlugin.description)),Oe||(a=navigator.mimeTypes["application/vnd.o3d.auto"])&&a.enabledPlugin&&(Oe=!0,Pe=Re(a.enabledPlugin.description)));return Oe};var Re=function(a){return(a=a.match(/\d+(?:\.\d+)+/))&&a[0]?a[0]:""};Ne.prototype.nb=function(){return this.isInstalled()?Pe:null};
var Se=function(a,b,c){this.m=a;this.g=b||null;this.i=c||[]};Se.prototype.toString=function(){return this.m};var Te=new Se("pVbxBc"),Ue=new Se("n73qwf");var Ve=!1,We="",Xe=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(Ve=!0,a.description)){We=Xe(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){Ve=!0;We="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],Ve=!!a&&a.enabledPlugin)){We=Xe(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");Ve=!0;We=Xe(b.GetVariable("$version")); return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");Ve=!0;We="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),Ve=!0,We=Xe(b.GetVariable("$version"))}catch(c){}})();var Ye=Ve,Ze=We;
var T=function(){Zc.call(this);this.Ob=new qd(this);this.Ee=this;this.Aa=null};v(T,Zc);T.prototype[ld]=!0;g=T.prototype;g.addEventListener=function(a,b,c,d){xd(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){Gd(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.Aa;if(c)for(b=[];c;c=c.Aa)b.push(c);var c=this.Ee,d=a.type||a;if(p(a))a=new R(a,c);else if(a instanceof R)a.target=a.target||c;else{var e=a;a=new R(d,c);Rb(a,e)}var e=!0,f;if(b)for(var h=b.length-1;0<=h;h--)f=a.i=b[h],e=$e(f,d,!0,a)&&e;f=a.i=c;e=$e(f,d,!0,a)&&e;e=$e(f,d,!1,a)&&e;if(b)for(h=0;h<b.length;h++)f=a.i=b[h],e=$e(f,d,!1,a)&&e;return e};g.X=function(){T.ha.X.call(this);this.Ob&&this.Ob.removeAll(void 0);this.Aa=null};
g.listen=function(a,b,c,d){return this.Ob.add(String(a),b,!1,c,d)};var Fd=function(a,b,c,d,e){return a.Ob.add(String(b),c,!0,d,e)};T.prototype.T=function(a,b,c,d){return this.Ob.remove(String(a),b,c,d)};var $e=function(a,b,c,d){b=a.Ob.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.removed&&h.Mb==c){var m=h.listener,n=h.qb||h.src;h.Xd&&sd(a.Ob,h);e=!1!==m.call(n,d)&&e}}return e&&0!=d.Gh};
var af=function(a){T.call(this);this.i=a};v(af,T);var bf=function(a){null==a.g&&(a.g=Qe);return a.g},cf=function(a){var b=0;a.i&&bf(a)&&bf(a).isInstalled()&&(b|=2);Ye&&(ec||fc)&&0<=Oa(Ze,"8.0.0")&&(b|=1);return b};var df=function(a){Zc.call(this);this.g=new af(a)};v(df,Zc);df.prototype.X=function(){ad(this.g);df.ha.X.call(this)};var ef=!Yb||9<=Number(tc);!$b&&!Yb||Yb&&9<=Number(tc)||$b&&rc("1.9.1");Yb&&rc("9");var ff=function(a,b){this.width=a;this.height=b};g=ff.prototype;g.clone=function(){return new ff(this.width,this.height)};g.ni=function(){return this.width*this.height};g.Sb=function(){return!this.ni()};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
var hf=function(a){return a?new gf(9==a.nodeType?a:a.ownerDocument||a.document):va||(va=new gf)},kf=function(a,b){Ab(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:jf.hasOwnProperty(d)?a.setAttribute(jf[d],b):wa(d,"aria-")||wa(d,"data-")?a.setAttribute(d,b):a[d]=b})},jf={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",
usemap:"useMap",valign:"vAlign",width:"width"},lf=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new ff(a.clientWidth,a.clientHeight)},nf=function(a){return a?mf(a):window},mf=function(a){return a.parentWindow||a.defaultView},pf=function(a,b,c){return of(document,arguments)},of=function(a,b){var c=b[0],d=b[1];if(!ef&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ia(d.name),'"');if(d.type){c.push(' type="',Ia(d.type),'"');var e={};Rb(e,d);delete e.type;
d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(p(d)?c.className=d:ia(d)?c.className=d.join(" "):kf(c,d));2<b.length&&qf(a,c,b);return c},qf=function(a,b,c){function d(c){c&&b.appendChild(p(c)?a.createTextNode(c):c)}for(var e=2;e<c.length;e++){var f=c[e];!ka(f)||na(f)&&0<f.nodeType?d(f):x(rf(f)?B(f):f,d)}},sf=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},rf=function(a){if(a&&"number"==typeof a.length){if(na(a))return"function"==typeof a.item||"string"==typeof a.item;if(ma(a))return"function"==
typeof a.item}return!1},gf=function(a){this.g=a||k.document||document};g=gf.prototype;g.getElement=function(a){return p(a)?this.g.getElementById(a):a};g.xg=function(a,b,c){return of(this.g,arguments)};g.createElement=function(a){return this.g.createElement(a)};g.Si=function(a,b){a.appendChild(b)};g.yg=sf; g.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
Yb&&rc(8);var tf={},uf={},vf={},wf=function(){throw Error("y");};wf.prototype.g=null;wf.prototype.hb=function(){return this.content};wf.prototype.toString=function(){return this.content};var xf=function(a,b){return null!=a&&a.vi===b},yf=function(){wf.call(this)};v(yf,wf);yf.prototype.vi=tf;var zf=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){var e=new b(String(a));void 0!==d&&(e.g=d);return e}}(yf);(function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){var e=String(a);if(!e)return"";e=new b(e);void 0!==d&&(e.g=d);return e}})(yf);
var Af={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},Bf=function(a){return Af[a]},Cf={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D",
"\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83",
"\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Df=function(a){return Cf[a]},Ef=/[\x00\x22\x27\x3c\x3e]/g,Ff=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g, Gf=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Hf=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,If=/</g;
var Jf=function(){var a;a=a||{};var b;b=xf("//ssl.gstatic.com/chat/hangouts/blocked_media_1b34028a73d1bb58a455a08b46949f7a.png",uf)||xf("//ssl.gstatic.com/chat/hangouts/blocked_media_1b34028a73d1bb58a455a08b46949f7a.png",vf)?"//ssl.gstatic.com/chat/hangouts/blocked_media_1b34028a73d1bb58a455a08b46949f7a.png".replace(Ff,Df):Gf.test("//ssl.gstatic.com/chat/hangouts/blocked_media_1b34028a73d1bb58a455a08b46949f7a.png")?"//ssl.gstatic.com/chat/hangouts/blocked_media_1b34028a73d1bb58a455a08b46949f7a.png".replace(Ff,
Df):"about:invalid#zSoyz";a="Voc\u00ea ainda poder\u00e1 ver o Hangout, mas as pessoas n\u00e3o conseguir\u00e3o ver ou ouvir voc\u00ea. Clique no \u00edcone "+('<img src="'+(xf(b,tf)?String(String(b.hb()).replace(Hf,"").replace(If,"&lt;")).replace(Ef,Bf):Ia(String(b)))+'" style="'+(a.zi?"/*"+a.zi+"*/":"")+'vertical-align: middle;">, na barra de URL, para permitir o acesso.');return zf(""+a)};
var U=function(a){Zc.call(this);this.O=a;this.F={}};v(U,Zc);var Kf=[];U.prototype.listen=function(a,b,c,d){return Lf(this,a,b,c,d)};var Lf=function(a,b,c,d,e,f){ia(c)||(c&&(Kf[0]=c.toString()),c=Kf);for(var h=0;h<c.length;h++){var m=xd(b,c[h],d||a.handleEvent,e||!1,f||a.O||a);if(!m)break;a.F[m.key]=m}return a},Nf=function(a,b,c,d){Mf(a,b,c,d,void 0)},Mf=function(a,b,c,d,e,f){if(ia(c))for(var h=0;h<c.length;h++)Mf(a,b,c[h],d,e,f);else(b=Ed(b,c,d||a.handleEvent,e,f||a.O||a))&&(a.F[b.key]=b)};
U.prototype.T=function(a,b,c,d,e){if(ia(b))for(var f=0;f<b.length;f++)this.T(a,b[f],c,d,e);else if(a=Id(a,b,c||this.handleEvent,d,e||this.O||this))Hd(a),delete this.F[a.key];return this};U.prototype.removeAll=function(){Ab(this.F,function(a,b){this.F.hasOwnProperty(b)&&Hd(a)},this);this.F={}};U.prototype.X=function(){U.ha.X.call(this);this.removeAll()};U.prototype.handleEvent=function(){throw Error("A");};
var Of=function(){T.call(this);this.g=new U(this);this.F=[];this.l=[];this.u=[];this.G=/\bcros\b/i.test(xb)};v(Of,T);g=Of.prototype;g.ze=null;g.Ud=null;g.Vd=null;g.mg=!1;g.dg=!1;g.Qf=!1;g.lf=null;g.X=function(){ad(this.g);Of.ha.X.call(this)};
g.ol=function(a){if("mf"==a.g)Pf(this);else if("fs"==a.g)Qf(this),this.dispatchEvent("q");else if("getdevicestate"==a.g){try{this.Qf=!1;var b=Me(a);this.F=b[7];this.l=b[3];this.u=b[5];Rf(this.F,"camera");Rf(this.l,"mic");Rf(this.u,"speakers");this.ze=Sf(this.F,b[6]);this.Ud=Sf(this.l,b[2]);this.Vd=Sf(this.u,b[4]);var c=b[1];this.dg=!!(c&2);this.mg=!!(c&1);this.Qf=!0;this.dispatchEvent("p");var d=[this.Ud,this.Vd,this.ze];try{window.localStorage.setItem("dsds",Jc(d))}catch(e){}}catch(e){}Qf(this);
this.dispatchEvent("q")}};
var Rf=function(a,b){for(var c=0;c<a.length;++c)if("__default_device"==a[c])switch(b){case "camera":a[c]="C\u00e2mera padr\u00e3o";break;case "mic":a[c]="Microfone padr\u00e3o";break;case "speakers":a[c]="Alto-falantes padr\u00e3o";break;default:a[c]="Dispositivo padr\u00e3o"}},Sf=function(a,b){return 0<=b&&b<a.length?a[b]:a.length?a[0]:null},Pf=function(a){a.i&&a.i.xc(["getdevicestate"])},Tf=function(a,b){a.i&&a.g.removeAll();a.i=b;a.i&&a.g.listen(a.i,"f-msg",a.ol)},Uf=function(a){null===a.lf&&Qf(a);
return a.lf},Qf=function(a){var b=[];null!=a.i&&4==a.i.Qe()&&b.push(new Vf(Jf().toString(),"capture",void 0,!0));a.Qf&&(0<a.l.length||b.push(new Vf("O Hangouts n\u00e3o detectou um microfone conectado ao seu computador. Sem ele, os demais participantes n\u00e3o poder\u00e3o ouvir voc\u00ea.","mic")),a.i&&a.i.$e()&&b.push(new Vf("O Hangouts n\u00e3o pode usar o microfone selecionado. Sem um microfone que funcione, os outros participantes n\u00e3o conseguir\u00e3o ouvir voc\u00ea.","mic")),a.i&&a.i.Bg()||
b.push(new Vf("O Hangouts n\u00e3o detectou uma c\u00e2mera conectada ao seu computador. Sem ela, os demais participantes n\u00e3o poder\u00e3o ver voc\u00ea.","camera")),a.i&&a.i.Ze()&&b.push(new Vf("O Hangouts n\u00e3o pode usar a c\u00e2mera selecionada. Sem uma c\u00e2mera que funcione, os outros participantes n\u00e3o conseguir\u00e3o ver voc\u00ea.","camera")),0<a.u.length||b.push(new Vf("O Hangouts n\u00e3o detectou alto-falantes conectados ao seu computador. Sem eles, n\u00e3o ser\u00e1 poss\u00edvel ouvir os demais participantes.",
"speakers")),a.i&&"1"==a.i.pb()[2].charAt(0)&&"."==a.i.pb()[2].charAt(1)&&!a.G&&b.push(new Vf("Voc\u00ea est\u00e1 usando uma vers\u00e3o desatualizada do plug-in do Google Talk.",void 0,"Atualizar plug-in.")));a.i&&!a.i.Ic()&&0!=a.i.de()&&b.push(new Vf("Verifique as outras janelas do navegador e desligue a chamada.",void 0,"Parece que voc\u00ea j\u00e1 est\u00e1 na videochamada."));a.lf=b},Wf=function(a,b){var c=b.oi?2:0;b.Di&&(c|=1);var d=Wa(a.l,b.ag),e=Wa(a.u,b.cg),f=Wa(a.F,b.ai);return["setdevicestate", c,d,e,f,!0]},Vf=function(a,b,c,d){this.message=(d=d||!1)?null:a;this.g=d?a:null;this.device=b;this.title=c||("mic"==this.device?"Microfone":"camera"==this.device?"C\u00e2mera":"speakers"==this.device?"Alto-falantes":"")};
var Xf=new Se("b");var Yf=function(a,b,c){this.J=c;this.m=a;this.l=b;this.i=0;this.g=null};Yf.prototype.get=function(){var a;0<this.i?(this.i--,a=this.g,this.g=a.next,a.next=null):a=this.m();return a};var Zf=function(a,b){a.l(b);a.i<a.J&&(a.i++,b.next=a.g,a.g=b)};var $f=function(a){k.setTimeout(function(){throw a;},0)},ag,bg=function(){var a=k.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!C("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,
a=t(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!C("Trident")&&!C("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(l(c.next)){c=c.next;var a=c.Le;c.Le=null;a()}};return function(a){d.next={Le:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")? function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){k.setTimeout(a,0)}};
var cg=function(){this.i=this.g=null},eg=new Yf(function(){return new dg},function(a){a.reset()},100);cg.prototype.add=function(a,b){var c=eg.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};cg.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.i=null),a.next=null);return a};var dg=function(){this.next=this.i=this.g=null};dg.prototype.set=function(a,b){this.g=a;this.i=b;this.next=null};dg.prototype.reset=function(){this.next=this.i=this.g=null};
var jg=function(a,b){fg||gg();hg||(fg(),hg=!0);ig.add(a,b)},fg,gg=function(){if(k.Promise&&k.Promise.resolve){var a=k.Promise.resolve(void 0);fg=function(){a.then(kg)}}else fg=function(){var a=kg;!ma(k.setImmediate)||k.Window&&k.Window.prototype&&!C("Edge")&&k.Window.prototype.setImmediate==k.setImmediate?(ag||(ag=bg()),ag(a)):k.setImmediate(a)}},hg=!1,ig=new cg,kg=function(){for(var a=null;a=ig.remove();){try{a.g.call(a.i)}catch(b){$f(b)}Zf(eg,a)}hg=!1};
var lg=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},mg=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var og=function(a,b){this.g=0;this.G=void 0;this.l=this.i=this.m=null;this.u=this.F=!1;if(a!=da)try{var c=this;a.call(b,function(a){ng(c,2,a)},function(a){ng(c,3,a)})}catch(d){ng(this,3,d)}},pg=function(){this.next=this.l=this.i=this.J=this.g=null;this.m=!1};pg.prototype.reset=function(){this.l=this.i=this.J=this.g=null;this.m=!1};
var qg=new Yf(function(){return new pg},function(a){a.reset()},100),rg=function(a,b,c){var d=qg.get();d.J=a;d.i=b;d.l=c;return d},sg=function(a){if(a instanceof og)return a;var b=new og(da);ng(b,2,a);return b},tg=function(a){return new og(function(b,c){c(a)})},vg=function(a,b,c){ug(a,b,c,null)||jg(ta(b,a))},wg=function(a){return new og(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},h=function(a){c(a)},m=0,n;m<a.length;m++)n=a[m],vg(n,ta(f,m),h);else b(e)})},
yg=function(){var a,b,c=new og(function(c,e){a=c;b=e});return new xg(c,a,b)};og.prototype.then=function(a,b,c){return zg(this,ma(a)?a:null,ma(b)?b:null,c)};lg(og);var Bg=function(a,b,c){b=rg(b,b,c);b.m=!0;Ag(a,b)},Cg=function(a,b,c){return zg(a,null,b,c)};og.prototype.J=function(a){0==this.g&&jg(function(){var b=new Dg(a);Eg(this,b)},this)};
var Eg=function(a,b){if(0==a.g)if(a.m){var c=a.m;if(c.i){for(var d=0,e=null,f=null,h=c.i;h&&(h.m||(d++,h.g==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.g&&1==d?Eg(c,b):(f?(d=f,d.next==c.l&&(c.l=d),d.next=d.next.next):Fg(c),Gg(c,e,3,b)))}a.m=null}else ng(a,3,b)},Ag=function(a,b){a.i||2!=a.g&&3!=a.g||Hg(a);a.l?a.l.next=b:a.i=b;a.l=b},zg=function(a,b,c,d){var e=rg(null,null,null);e.g=new og(function(a,h){e.J=b?function(c){try{var e=b.call(d,c);a(e)}catch(r){h(r)}}:a;e.i=c?function(b){try{var e=c.call(d,
b);!l(e)&&b instanceof Dg?h(b):a(e)}catch(r){h(r)}}:h});e.g.m=a;Ag(a,e);return e.g};og.prototype.T=function(a){this.g=0;ng(this,2,a)};og.prototype.K=function(a){this.g=0;ng(this,3,a)};
var ng=function(a,b,c){0==a.g&&(a==c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,ug(c,a.T,a.K,a)||(a.G=c,a.g=b,a.m=null,Hg(a),3!=b||c instanceof Dg||Ig(a,c)))},ug=function(a,b,c,d){if(a instanceof og)return Ag(a,rg(b||da,c||null,d)),!0;if(mg(a))return a.then(b,c,d),!0;if(na(a))try{var e=a.then;if(ma(e))return Jg(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},Jg=function(a,b,c,d,e){var f=!1,h=function(a){f||(f=!0,c.call(e,a))},m=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,
h,m)}catch(n){m(n)}},Hg=function(a){a.F||(a.F=!0,jg(a.H,a))},Fg=function(a){var b=null;a.i&&(b=a.i,a.i=b.next,b.next=null);a.i||(a.l=null);return b};og.prototype.H=function(){for(var a=null;a=Fg(this);)Gg(this,a,this.g,this.G);this.F=!1};
var Gg=function(a,b,c,d){if(3==c&&b.i&&!b.m)for(;a&&a.u;a=a.m)a.u=!1;if(b.g)b.g.m=null,Kg(b,c,d);else try{b.m?b.J.call(b.l):Kg(b,c,d)}catch(e){Lg.call(null,e)}Zf(qg,b)},Kg=function(a,b,c){2==b?a.J.call(a.l,c):a.i&&a.i.call(a.l,c)},Ig=function(a,b){a.u=!0;jg(function(){a.u&&Lg.call(null,b)})},Lg=$f,Dg=function(a){ua.call(this,a)};v(Dg,ua);Dg.prototype.name="cancel";var xg=function(a,b,c){this.i=a;this.g=b;this.m=c};
var Mg=function(a,b){T.call(this);this.i=a||1;this.g=b||k;this.l=t(this.vl,this);this.u=u()};v(Mg,T);g=Mg.prototype;g.enabled=!1;g.Eb=null;g.setInterval=function(a){this.i=a;this.Eb&&this.enabled?(this.stop(),this.start()):this.Eb&&this.stop()};g.vl=function(){if(this.enabled){var a=u()-this.u;0<a&&a<.8*this.i?this.Eb=this.g.setTimeout(this.l,this.i-a):(this.Eb&&(this.g.clearTimeout(this.Eb),this.Eb=null),this.dispatchEvent("tick"),this.enabled&&(this.Eb=this.g.setTimeout(this.l,this.i),this.u=u()))}};
g.start=function(){this.enabled=!0;this.Eb||(this.Eb=this.g.setTimeout(this.l,this.i),this.u=u())};g.stop=function(){this.enabled=!1;this.Eb&&(this.g.clearTimeout(this.Eb),this.Eb=null)};g.X=function(){Mg.ha.X.call(this);this.stop();delete this.g};
var V=function(a,b,c){if(ma(a))c&&(a=t(a,c));else if(a&&"function"==typeof a.handleEvent)a=t(a.handleEvent,a);else throw Error("B");return 2147483647<Number(b)?-1:k.setTimeout(a,b||0)},Ng=function(a){k.clearTimeout(a)},Og=function(a){var b=null;return Cg(new og(function(c,d){b=V(function(){c(void 0)},a);-1==b&&d(Error("C"))}),function(a){Ng(b);throw a;})};
var Pg=function(a,b,c){T.call(this);this.u=a||hf();this.M=this.N=this.S=0;this.U=b||{};this.H=[];this.F=!1;this.ba=l(c)?c:zc};v(Pg,T);Pg.prototype.l=0;Pg.prototype.K=0;Pg.prototype.Sf=function(a){null!=a&&(this.u=new gf(a));return 0!=this.l?-3!=this.l:Qg(this)};
var Qg=function(a){if(Yb)try{window.addEventListener?window.addEventListener("unload",t(a.O,a),!1):window.attachEvent&&window.attachEvent("onunload",t(a.O,a)),a.i=new ActiveXObject("GoogleTalk.Plugin")}catch(b){a.i=null}else k.navigator?(navigator.mimeTypes["application/googletalk"]||navigator.plugins.refresh(),navigator.mimeTypes["application/googletalk"]?(a.i=a.u.createElement("embed"),a.i.width=1,a.i.height=1,a.i.type="application/googletalk",a.u.g.documentElement.appendChild(a.i)):a.i=null):a.i=
null;a.i?(Rg(a,{step:"dom"}),a.G=V(a.da,1E4,a),Sg(a,1),a.P()):Sg(a,-3);return!!a.i};Pg.prototype.Z=function(){5==this.l?this.M=this.N=0:(this.N=u()-this.M,this.O(),Qg(this),Tg(this))};var Tg=function(a){0==a.M&&(a.M=u());3E5>a.N?0==a.N?V(a.Z,5E4,a):V(a.Z,5E3,a):(Rg(a,{step:"callback",error:"timeout"}),Sg(a,-2),Ug(a))};
Pg.prototype.P=function(){if(1==this.l)if(null!=this.i.version){0!=this.F&&(this.F=!1,this.dispatchEvent("j"));try{var a;8E3>this.S?(V(this.P,250,this),this.S+=250,a=!0):(Rg(this,{step:"callback",error:"timeout"}),Sg(this,-2),Ug(this),a=!1);if(a){var b=t(this.Xi,this);this.i.onmessage=b;if(this.ba&&l(this.i.onmessageglobal)){var c=qa(this);ba("om_"+c,b,mf(this.u.g));this.i.onmessageglobal="om_"+c}Rg(this,{step:"callback"});Sg(this,2)}}catch(d){Rg(this,{step:"callback",error:d.name,msg:d.message})}}else 1!=
this.F&&(this.F=!0,this.dispatchEvent("j")),V(this.P,250,this)};var Vg=function(a){Rb(a.U,{domain:document.domain,useragent:xb,pluginversion:a.nb()});a.send(Jc(["mf",2,a.U]))};g=Pg.prototype;g.nb=function(){return this.i.version};g.Of=function(a){this.U=a;4<=this.l&&Vg(this)};g.send=function(a,b){if(!(3>this.l))a:{try{this.i.send(a)}catch(d){b||this.dispatchEvent("l");break a}if(!b){var c=new Le("of-msg",a);this.dispatchEvent(c)}}};g.dj=function(){return this.F};
g.Xi=function(a){2==this.l&&Sg(this,3);var b=new Le("f-msg",a);switch(b.g){case "f-connect":Rg(this,Me(b).pop());return;case "f-ready":Rg(this,{step:"ready"});Sg(this,4);Vg(this);break;case "mf":Hc(b.json);Rg(this,{ok:!0,step:"done"});Sg(this,5);break;case "f-dead":Sg(this,-1);Ug(this);break;case "jmidata":this.dispatchEvent(new Le("i-msg",a));this.dispatchEvent(new Wg);this.K=0;break;case "f-kill":Ug(this);Tg(this);break;case "getproxyforurl":try{var c=this.i.getproxyforurl(b.json);this.send(c)}catch(d){}}a=
u();this.dispatchEvent(b);b=u()-a;5E3<b&&this.dispatchEvent(new Xg);b>this.K&&(this.K=b)};var Ug=function(a){a.dispatchEvent(new Le("f-msg",Jc(["mf","",""])))};Pg.prototype.ib=function(){return this.l};var Sg=function(a,b){b!=a.l&&(a.l=b,a.dispatchEvent("r"))};Pg.prototype.ug=function(){return this.H};
Pg.prototype.O=function(){this.i&&(this.i.onmessage=null,this.ba&&null!=this.i.onmessageglobal&&(ba(this.i.onmessageglobal,null,mf(this.u.g)),this.i.onmessageglobal=null),Yb||this.u.yg(this.i),this.i=null)};Pg.prototype.X=function(){this.O();this.G&&(Ng(this.G),delete this.G);this.g&&(ad(this.g),delete this.g);this.H=[];this.u=null;this.K=0;Pg.ha.X.call(this)};var Rg=function(a,b){100>a.H.length&&(b.t=""+u(),a.H.push(b))};Pg.prototype.da=function(){this.dispatchEvent(new Yg);delete this.G}; var Yg=function(){R.call(this,"d")};v(Yg,R);var Xg=function(){R.call(this,"a")};v(Xg,R);var Wg=function(){R.call(this,"k")};
var $g=function(a){H(this,a,0,-1,Zg)};v($g,E);var Zg=[6,19,29,30,34,38,41];g=$g.prototype;g.L=function(){return P(this)};g.oa=function(){return I(this,1)};g.ea=function(a){J(this,1,a)};g.Lf=function(a){J(this,17,a)};g.Mf=function(a){M(this,18,a)};g.fa=function(){return I(this,35)};
var ah=function(a){this.g=a},bh=/\s*;\s*/;g=ah.prototype;g.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error("D`"+a);if(/[;\r\n]/.test(b))throw Error("E`"+b);l(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(u()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f};
g.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(bh),e=0,f;f=d[e];e++){if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};g.remove=function(a,b,c){var d=l(this.get(a));this.set(a,"",0,b,c);return d};g.Ta=function(){return ch(this).keys};g.xa=function(){return ch(this).values};g.Sb=function(){return!this.g.cookie};g.Oa=function(){return this.g.cookie?(this.g.cookie||"").split(bh).length:0};
g.fd=function(a){for(var b=ch(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=ch(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};var ch=function(a){a=(a.g.cookie||"").split(bh);for(var b=[],c=[],d,e,f=0;e=a[f];f++)d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
var dh=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,eh=function(a){var b=a.match(dh);a=b[1];var c=b[2],d=b[3],b=b[4],e="";a&&(e+=a+":");d&&(e+="//",c&&(e+=c+"@"),e+=d,b&&(e+=":"+b));return e},fh=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null,h=null;0<=e?(f=c[d].substring(0,e),h=c[d].substring(e+1)):f=c[d];b(f,h?decodeURIComponent(h.replace(/\+/g," ")):"")}},gh=function(a,b,c){a=[a,"&",
b];null!=c&&a.push("=",encodeURIComponent(String(c)));a[1]&&(c=a[0],b=c.indexOf("#"),0<=b&&(a.push(c.substr(b)),a[0]=c=c.substr(0,b)),b=c.indexOf("?"),0>b?a[1]="?":b==c.length-1&&(a[1]=void 0));return a.join("")},hh=/#|$/,ih=function(a,b){var c=a.search(hh),d;a:{d=0;for(var e=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var f=a.charCodeAt(d-1);if(38==f||63==f)if(f=a.charCodeAt(d+e),!f||61==f||38==f||35==f)break a;d+=e+1}d=-1}if(0>d)return null;e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.substr(d, e-d).replace(/\+/g," "))};
var jh=function(a,b){this.i=this.G=this.g="";this.F=null;this.u=this.l="";this.m=!1;var c;a instanceof jh?(this.m=l(b)?b:a.m,kh(this,a.g),this.G=a.G,this.i=a.i,lh(this,a.F),this.l=a.l,mh(this,a.J.clone()),this.u=a.u):a&&(c=String(a).match(dh))?(this.m=!!b,kh(this,c[1]||"",!0),this.G=nh(c[2]||""),this.i=nh(c[3]||"",!0),lh(this,c[4]),this.l=nh(c[5]||"",!0),mh(this,c[6]||"",!0),this.u=nh(c[7]||"")):(this.m=!!b,this.J=new oh(null,0,this.m))};
jh.prototype.toString=function(){var a=[],b=this.g;b&&a.push(ph(b,qh,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(ph(b,qh,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.F,null!=c&&a.push(":",String(c));if(c=this.l)this.i&&"/"!=c.charAt(0)&&a.push("/"),a.push(ph(c,"/"==c.charAt(0)?rh:sh,!0));(c=this.J.toString())&&a.push("?",c);(c=this.u)&&a.push("#",ph(c,th));return a.join("")};jh.prototype.clone=function(){return new jh(this)};
var kh=function(a,b,c){a.g=c?nh(b,!0):b;a.g&&(a.g=a.g.replace(/:$/,""))},lh=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("F`"+b);a.F=b}else a.F=null},mh=function(a,b,c){b instanceof oh?(a.J=b,uh(a.J,a.m)):(c||(b=ph(b,vh)),a.J=new oh(b,0,a.m))},nh=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ph=function(a,b,c){return p(a)?(a=encodeURI(a).replace(b,wh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},wh=function(a){a=a.charCodeAt(0);
return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},qh=/[#\/\?@]/g,sh=/[\#\?:]/g,rh=/[\#\?]/g,vh=/[\#\?@]/g,th=/#/g,oh=function(a,b,c){this.i=this.g=null;this.m=a||null;this.l=!!c},xh=function(a){a.g||(a.g=new S,a.i=0,a.m&&fh(a.m,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=oh.prototype;g.Oa=function(){xh(this);return this.i};g.add=function(a,b){xh(this);this.m=null;a=yh(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.i=this.i+1;return this};
g.remove=function(a){xh(this);a=yh(this,a);return ue(this.g.i,a)?(this.m=null,this.i=this.i-this.g.get(a).length,this.g.remove(a)):!1};g.clear=function(){this.g=this.m=null;this.i=0};g.Sb=function(){xh(this);return 0==this.i};var zh=function(a,b){xh(a);b=yh(a,b);return ue(a.g.i,b)};g=oh.prototype;g.fd=function(a){var b=this.xa();return z(b,a)};g.Ta=function(){xh(this);for(var a=this.g.xa(),b=this.g.Ta(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.xa=function(a){xh(this);var b=[];if(p(a))zh(this,a)&&(b=lb(b,this.g.get(yh(this,a))));else{a=this.g.xa();for(var c=0;c<a.length;c++)b=lb(b,a[c])}return b};g.set=function(a,b){xh(this);this.m=null;a=yh(this,a);zh(this,a)&&(this.i=this.i-this.g.get(a).length);this.g.set(a,[b]);this.i=this.i+1;return this};g.get=function(a,b){var c=a?this.xa(a):[];return 0<c.length?String(c[0]):b};
g.toString=function(){if(this.m)return this.m;if(!this.g)return"";for(var a=[],b=this.g.Ta(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.xa(d),f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}return this.m=a.join("&")};g.clone=function(){var a=new oh;a.m=this.m;this.g&&(a.g=this.g.clone(),a.i=this.i);return a};
var yh=function(a,b){var c=String(b);a.l&&(c=c.toLowerCase());return c},uh=function(a,b){b&&!a.l&&(xh(a),a.m=null,a.g.forEach(function(a,b){var e=b.toLowerCase();b!=e&&(this.remove(b),this.remove(e),0<a.length&&(this.m=null,this.g.set(yh(this,e),B(a)),this.i=this.i+a.length))},a));a.l=b};
var Ah=function(a){this.i=a};Ah.prototype.g=function(a,b){new Bh(this.i,a,b||3E4)};var Bh=function(a,b,c){U.call(this);this.g=b;this.i=a;this.listen(a,"f-msg",this.l);V(this.u,c,this)};v(Bh,U);
Bh.prototype.l=function(a){var b;a:{b=I(this.g,21)||"";if("connection-broadcast"==a.g&&(a=Me(a),"hscreq"==a[2]["message-type"]&&a[2].id==b)){b=a[2].body;break a}b=null}null!=b&&(b=this.i,a=["connection-broadcast",{type:"same-jid"},{"message-type":"hscresp",id:I(this.g,21)||"",body:this.g.Da}],b instanceof Pg?b.send(Jc(a)):b.xc(a),this.dispose())};Bh.prototype.u=function(){this.dispose()};
var Kh=function(a,b){if(6>=a.length||"undefined"==typeof a[6].v){var c=a,d=c.slice(0,4);d[4]=[];d[5]=[];var e=c[4][0];d[4].push([{t:"r",s:"-1",b:e[7],p:e[8],fl:e[0],pl:e[1],sn:e[2],j:e[3]},{t:"s",s:"-1",b:e[5],p:e[6]}]);1<c[4].length&&(e=c[4][1],d[4].push([{t:"r",s:"-1",b:e[7],fl:e[0],pl:e[1]},{t:"s",s:"-1",b:e[5],p:e[6]}]));e=c[5][0];d[5].push([{f:e[0],rtt:e[1],sb:e[2],sbs:e[3],rb:e[4],rbs:e[5],lc:e[6],rc:e[7]}]);1<c[5].length&&(e=c[5][1],d[5].push([{f:e[0],rtt:e[1],sb:e[2],sbs:e[3],rb:e[4],rbs:e[5],
lc:e[6],rc:e[7]}]));c=c[6]||{};d.push({v:c.v||1,cpus:c.cpus||1,cpu:c.cpu||0,bcpu:c.bcpu||-1,gcpu:c.gcpu||-1,vfxcpu:c.vfxcpu||-1,tcpu:c.tcpu||-1,t:c.t||-1,bfps:c.bfps||-1});d.push([]);a=d}this.jid=a[1];this.sessionId=a[2];this.T=a[3];d=a[4];this.F=[];this.G=[];if(d[0])for(c=0;c<d[0].length;c++)e=d[0][c],"r"==e.t?this.F.push(new Ch(e)):"s"==e.t&&this.G.push(new Dh(e));this.l=[];this.J=[];this.i=[];if(d[1])for(c=0;c<d[1].length;c++)e=d[1][c],"r"==e.t?this.l.push(new Eh(e)):"s"==e.t?this.J.push(new Fh(e)):
"b"==e.t&&this.i.push(new Gh(e));this.u=[];if(a[5][0])for(c=0;c<a[5][0].length;c++)this.u.push(new Hh(a[5][0][c],"audio"));this.m=[];if(a[5][1])for(c=0;c<a[5][1].length;c++)this.m.push(new Hh(a[5][1][c],"video"));this.g=new Ih(a[6],b);this.H=[];if(null!=a[7])for(c=0;c<a[7].length;c++)this.H.push(new Jh(a[7]))};
Kh.prototype.toString=function(){var a=[];a.push(W("\njid",this.jid));a.push(W("sessionId",this.sessionId));a.push("\nGlobal:");a.push(this.g.toString());a.push("\nAudio:");for(var b=0;b<this.F.length;b++)a.push(this.F[b].toString());for(b=0;b<this.G.length;b++)a.push(this.G[b].toString());if(0<this.l.length)for(a.push("\nVideo:"),b=0;b<this.l.length;b++)a.push(this.l[b].toString());if(this.J)for(b=0;b<this.J.length;b++)a.push(this.J[b].toString());if(this.i)for(b=0;b<this.i.length;b++)a.push(this.i[b].toString());
a.push("\nAudio connections:");for(b=0;b<this.u.length;b++)a.push(this.u[b].toString());if(0<this.m.length)for(a.push("\nVideo connections:"),b=0;b<this.m.length;b++)a.push(this.m[b].toString());if(0<this.H.length)for(a.push("\nParticipants:"),b=0;b<this.H.length;b++)a.push(this.H[b].toString());return a.join("\n")};
var Dh=function(a){this.g=La(a.s);this.i=La(a.c);this.G=a.b;this.H=a.p;this.timestamp=Lh(a.ts,-1);this.m=a.fl;this.l=Lh(a.pl,-1);this.P=Lh(a.sn,-1);this.F=Mh(a.j);this.J=a.rtt;this.u=Mh(a.en);this.M=Mh(a.ecqmin);this.T=Mh(a.edm);this.K=Mh(a.eds);this.N=Mh(a.erl);this.O=Mh(a.erle)};Dh.prototype.key=function(){return this.g};
Dh.prototype.toString=function(){return[W("type","outgoing"),W("SSRC",this.g),W("codec",this.i),W("sent bytes",X(this.G,0)),W("sent packets",X(this.H,0)),W("recent RTCP timestamp",X(this.timestamp,0)),W("RTP loss ratio",X(this.m,2)),W("lost RTP packets",X(this.l,0)),W("highest seqnum",X(this.P,0)),W("jitter",X(this.F,2)+" ms"),W("RTT",X(this.J,2)+" ms"),W("energy",X(this.u,0)),W("AEC quality",X(this.M,2)),W("AEC delay",X(this.T,0)+" ms"),W("AEC delay spread",X(this.K,0)+" ms"),W("ERL",X(this.N,0)+
" dB"),W("ERLE",X(this.O,0)+" dB")].join("\n")};var Ch=function(a){this.g=La(a.s);this.i=La(a.c);this.J=a.b;this.G=a.p;this.m=a.fl;this.l=a.pl;this.W=a.sn;this.F=Mh(a.j);this.u=a.en;this.S=a.er;this.Aa=a.pjb;this.U=a.d;this.H=a.owd;this.K=a.dts;this.T=a.dtn;this.N=a.dn;this.O=a.dp;this.M=a.dc;this.P=a.dpc};Ch.prototype.key=function(){return this.g};
Ch.prototype.toString=function(){var a=[];a.push(W("type","incoming"));a.push(W("SSRC",this.g));a.push(W("codec",this.i));a.push(W("received bytes",X(this.J,0)));a.push(W("received packets",X(this.G,0)));a.push(W("RTP loss ratio",X(this.m,2)));a.push(W("lost RTP packets",X(this.l,0)));a.push(W("highest seqnum",X(this.W,0)));a.push(W("jitter",X(this.F,2)+" ms"));a.push(W("energy",X(this.u,0)));a.push(W("expandrate",X(this.S,2)));a.push(W("preferredjitterbuffersize",X(this.Aa,0)));a.push(W("totalplayoutdelay",
X(this.U,0)));a.push(W("Calls to silence generator",X(this.K,0)));a.push(W("Calls to net eq",X(this.T,0)));a.push(W("Calls where audio RTP packet decoded",X(this.N,0)));a.push(W("Calls that resulted in PLC",X(this.O,0)));a.push(W("Calls with comfort noise generated",X(this.M,0)));a.push(W("Calls where PLC faded to CNG",X(this.P,0)));return a.join("\n")};
var Fh=function(a){this.g=La(a.s);this.Aa=a.ss;this.i=a.c||"";this.G=a.b;this.H=a.p;this.m=Lh(a.fl,-1);this.l=Lh(a.pl,-1);this.U=a.pc;this.u=a.fir;this.F=a.nack;this.Z=Lh(a.dnack,-1);this.W=Lh(a.drtx,-1);this.J=a.rtt;this.width=a.w;this.height=a.h;this.S=a.fps;this.P=a.sfps;this.Bc=a.ar;null==this.Bc&&(this.Bc=0);this.ba=a.sc||0;this.M=Lh(a.cj,-1);this.N=Lh(a.cd,-1);this.K=Lh(a.et,-1);this.O=Lh(a.eu,-1);this.T=Lh(a.ac,-1)};Fh.prototype.key=function(){return this.g};
Fh.prototype.toString=function(){var a=[];a.push(W("type","outgoing"));a.push(W("Primary SSRC",this.g));a.push(W("SSRCs",this.Aa));a.push(W("codec",this.i));a.push(W("sent bytes",X(this.G,0)));a.push(W("sent packets",X(this.H,0)));a.push(W("RTP loss ratio",X(this.m,2)));a.push(W("lost RTP packets",X(this.l,0)));a.push(W("cached packets",X(this.U,0)));a.push(W("# of FIRs received",X(this.u,0)));a.push(W("# of NACKs received",X(this.F,0)));a.push(W("# of distinct NACKs received",X(this.Z,0)));a.push(W("# of distinct packets retransmitted",
X(this.W,0)));a.push(W("RTT",X(this.J,2)+" ms"));a.push(W("frame width",X(this.width,0)));a.push(W("frame height",X(this.height,0)));a.push(W("framerate to encoder",X(this.S,2)+" fps"));a.push(W("framerate sent",X(this.P,2)+" fps"));a.push(W("capture jitter",X(this.M,0)));a.push(W("capture queue delay",X(this.N,0)));a.push(W("avg encode ms",X(this.K,0)));a.push(W("encode usage percent",X(this.O,0)));a.push(W("adaptation changes",X(this.T,0)));a.push(W("adapt reason - cpu request",X(parseInt(this.Bc,
10)&1,0)));a.push(W("adapt reason - bandwidth request",X((parseInt(this.Bc,10)&2)>>1,0)));a.push(W("adapt reason - view request",X((parseInt(this.Bc,10)&4)>>2,0)));return a.join("\n")};var Eh=function(a){this.g=La(a.s);this.P=a.ss;this.i=La(a.c);this.J=a.b;this.Aa=Lh(a.lb,-1);this.G=a.p;this.m=a.fl;this.l=a.pl;this.S=a.px;this.u=a.fir;this.F=a.nack;this.U=Lh(a.dnack,-1);this.width=a.w;this.height=a.h;this.N=a.rfps;this.T=a.dfps;this.O=a.fps;this.K=Lh(a.gifps,-1);this.M=Lh(a.gofps,-1);this.H=a.owd};
Eh.prototype.key=function(){return this.g};
Eh.prototype.toString=function(){var a=[];a.push(W("type","incoming"));a.push(W("Primary SSRC",this.g));a.push(W("SSRCs",this.P));a.push(W("codec",this.i));a.push(W("received bytes",X(this.J,0)));a.push(W("per-layer bytes received",this.Aa||"?"));a.push(W("received packets",X(this.G,0)));a.push(W("RTP loss ratio",X(this.m,2)));a.push(W("lost RTP packets",X(this.l,0)));a.push(W("concealed lost RTP packets",X(this.S,0)));a.push(W("# of FIRs sent",X(this.u,0)));a.push(W("# of NACKs sent",X(this.F,0)));
a.push(W("# of distinct NACKs sent",X(this.U,0)));a.push(W("frame width",X(this.width,0)));a.push(W("frame height",X(this.height,0)));a.push(W("framerate received",X(this.N,2)+" fps"));a.push(W("framerate decoded",X(this.T,2)+" fps"));a.push(W("framerate to renderer",X(this.O,2)+" fps"));a.push(W("framerate input to graphics",X(this.K,2)+" fps"));a.push(W("framerate output to graphics",X(this.M,2)+" fps"));a.push(W("one way delay",X(this.H,0)+" ms"));return a.join("\n")};
var Gh=function(a){this.i=a.asbw;this.g=a.arbw;this.J=a.txbr;this.l=a.rtxbr;this.m=a.lbd};Gh.prototype.key=function(){return"0"};Gh.prototype.toString=function(){var a=[];a.push(W("availableSendBitrate",this.i));a.push(W("availableRecvBitrate",this.g));a.push(W("transmissionBitrate",this.J));a.push(W("retransmissionBitrate",this.l));a.push(W("leakyBucketDelay",this.m));return a.join("\n")};
var Hh=function(a,b){this.g=Lh(a.f,0);this.J=Lh(a.rtt,-1);this.u=Lh(a.sb,0);this.G=Lh(a.sbs,0);this.T=Lh(a.stp,0);this.H=Lh(a.sdp,0);this.m=Lh(a.rb,0);this.F=Lh(a.rbs,0);this.i=null!=a.lc?new Nh(a.lc):null;this.l=null!=a.rc?new Nh(a.rc):null;this.media=b};Hh.prototype.key=function(){return[this.i,this.l].toString()};var Ph=function(a){return{f:a.g,rtt:a.J,sb:a.u,sbs:a.G,stp:a.T,sdp:a.H,rb:a.m,rbs:a.F,lc:null!=a.i?Oh(a.i):[],rc:null!=a.l?Oh(a.l):[]}};
Hh.prototype.toString=function(){var a=[];a.push(W("RTT",X(this.J,2)+" ms"));a.push(W("send bytes",X(this.u,0)));a.push(W("send bitrate",X(this.G/128,4)+" kbps"));a.push(W("send total packets",X(this.T,0)+" pkts"));a.push(W("send total discarded packets",X(this.H,0)+" pkts"));a.push(W("recv bytes",X(this.m,0)));a.push(W("recv bitrate",X(this.F/128,4)+" kbps"));a.push("\nlocal candidate:");a.push(this.i.toString());a.push("\nremote candidate:");a.push(this.l.toString());return a.join("\n")};
var Nh=function(a){this.name=a[0];this.type=a[1];this.protocol=a[2];this.address=a[3]},Oh=function(a){return[a.name,a.type,a.protocol,a.address]};Nh.prototype.toString=function(){var a=[];a.push(W("name",this.name));a.push(W("type",this.type));a.push(W("protocol",this.protocol));a.push(W("address",this.address));return a.join("\n")};var Ih=function(a,b){this.G=a.v||1;this.i=Lh(a.cpus,1);this.cpu=a.cpu;this.m=a.bcpu;this.l=a.gcpu;this.u=a.vfxcpu;this.g=Lh(a.tcpu,-1);this.J=Lh(a.t,-1);this.F=b||""};
Ih.prototype.toString=function(){var a=[];a.push(W("CPUs",X(this.i,0)));a.push(W("GTP CPU usage",X(this.cpu,2)+"%"));a.push(W("Total CPU usage",X(this.g,2)+"%"));a.push(W("Average Plugin Message Processing Time",X(this.J,0)+"ms"));a.push(W("Video Renderer",this.F||"Legacy O3D"));a.push(W("Browser FPS",X(-1,1)+"fps"));return a.join("\n")};var Jh=function(a){this.i=a.nick;this.g=a.audioSsrcs||[];this.l=a.videoSsrcs||[];this.m=a.participant||""};
Jh.prototype.toString=function(){var a=[];a.push(W("nick",this.i));a.push(W("audio SSRCs",this.g.join(", ")));a.push(W("video SSRCs",this.l.join(", ")));a.push(W("participant",this.m));return a.join("\n")};var X=function(a,b){return null!=a?Ka(Number(a),0,b):"?"},W=function(a,b){return"  "+a+" = "+b},Mh=function(a){return null!=a?Number(a):null},Lh=function(a,b){return null!=a?Number(a):b};
var Qh=function(){this.m=new De;this.g=2;this.i=4294967295;this.g=Math.max(this.g,2);this.i=Math.min(this.i,4294967295);this.g>this.i&&(this.g=2,this.i=4294967295)},Rh=function(a){for(var b=a.i-a.g+1,c=Math.floor(a.g+b*Math.random()),d=0;a.m.contains(c);)if(c<a.i?++c:c=a.g,++d>=b)return null;a.m.add(c);return c};
var Sh=function(a,b,c,d,e,f,h,m,n,r){this.G=a;this.J=b||0;this.i=l(c)?c:null;this.g=l(d)?d:null;this.l=l(e)?e:null;this.m=l(f)?f:null;this.u=l(h)?h:null;this.H=l(m)?m:null;this.platform=l(n)?n:null;this.F=l(r)?r:null},Th=new S({neon:1,sse2:2,ssse3:4,sse4_1:8,sse4_2:16,avx:32}),Uh=function(a){if("GenuineIntel"!=a.g)return!1;var b=!0;switch(a.l){case 3:case 4:case 15:case 5:b=!1;break;case 6:b=14<=a.m&&22!=a.m&&28!=a.m}return b},Vh=function(a,b,c){B(a);this.m=B(b);this.i=c;this.g=B([])};
var Wh=function(a){if(null!=a)switch(a[0]){case "ce":var b=new Le(a[1],a[2]);b.timestamp=a[3];return b;case "mpte":return new Wg;case "ie":return new Yg;case "cie":return new Xg;case "ge":return a[1]}return null},Xh=function(a){return null!=a&&ma(a.rc_)&&null==a.location},Yh=function(a){Pg.call(this);this.W=a};v(Yh,Pg);g=Yh.prototype;g.Sf=function(){return this.bd("i",t(Yh.prototype.al,this))};g.Of=function(a){this.bd("smi",a)};g.send=function(a){this.bd("s",a)};g.ib=function(){return this.bd("gs")}; g.nb=function(){return this.bd("gv")};g.ug=function(){return this.bd("gcs")};g.al=function(a){a=Wh(a);null!=a&&this.dispatchEvent(a)};g.bd=function(a,b){return this.W.rc_.apply(this.W,arguments)};
var $h=function(a,b,c,d,e){T.call(this);this.K=new U(this);this.Ka=a;this.W=b;this.K.listen(this.W,"o",this.jj);this.ba=d||[];(a=xb)&&0<a.toLowerCase().indexOf("cros arm")&&jb(this.ba,"cpuadaptation");a:{if(!Yb&&k.navigator&&(a=navigator.plugins["Google Talk Plugin"])&&a.description){a=a.description;break a}a=""}a=a.replace(/([^0-9]|^\.)*/,"");ya(La(a))||(0>Oa(a,"4.0.0.0")&&jb(this.ba,"ia"),0>Oa(a,"4.5.0.0")&&jb(this.ba,"wadc"),0>Oa(a,"4.5.0.0")&&jb(this.ba,"bpd"),0>Oa(a,"4.7.0.0")&&jb(this.ba,"wvlb"));
this.S=c||{};null!=this.ba&&Rb(this.S,{exps:this.ba});this.Bd=e||!1;this.La=new Of;Tf(this.La,this);Zh(this,"fmi")&&this.Jf(!0)};v($h,T);new De([4,2]);var ai=function(a,b,c,d){R.call(this,"h");this.l=a;this.g=b;this.u=c;this.m=d};v(ai,R);var bi=function(a,b){R.call(this,"g");this.sessionId=b};v(bi,R);$h.prototype.M=0;var ci=function(a){R.call(this,"m");this.json=a};v(ci,R);var di=function(){R.call(this,"f")};v(di,R);
$h.prototype.Kb=function(a){if(!this.u){var b;Xh(a)?this.u=ei(this,a):(b=a,this.u=ei(this));this.u.Sf(b)?(this.M=0,V(this.Yc,15E3,this)):(fi(this),this.M=4,gi(this))}};var fi=function(a){a.u&&(a.u.Aa=null,a.u.dispose(),a.u=null);a.M=0};$h.prototype.Yc=function(){this.u&&1!=this.M&&gi(this)};
var hi=function(a){Rb(a.S,{jid:a.Ka,renderer:cf(a.W),useBrowserHttp:!!gc})},Zh=function(a,b){for(var c=0;c<a.ba.length;c++)if(a.ba[c]==b)return!0;return!1},ei=function(a,b){hi(a);var c=bf(a.W);null!=c&&c.isInstalled()&&Rb(a.S,{o3dVersion:c.nb()});if(Xh(b)){var c=a.S,d=new Yh(b);null!=c&&d.Of(c);c=d}else c=new Pg(null,a.S,a.Bd);c.Aa=a;a.K.listen(c,"f-msg",a.ql);return c};g=$h.prototype;g.xc=function(a){this.u&&(ia(a)&&(a=Jc(a)),this.u.send(a))};g.Re=function(){return this.M};
g.Wh=function(){return 1==this.M};g.isInstalled=function(){return!(4==this.M||2==this.M)};g.ef=function(){return!!this.u&&!!this.u.dj&&this.u.F};g.Bg=function(){var a=this.pb(),b;a?b=a[4]:b=ii(this);return b.caps?!!(b.caps&8):!1};g.Qe=function(){return 3};g.$e=function(){return!1};g.Ze=function(){return!1};g.Ic=function(){return!1};
g.Yd=function(){if(!this.Fc("5.5.0.0"))return!1;var a=this.pb(),a=a&&a[4]&&a[4].videoCodecs;if(!a)return!1;for(var b=0;b<a.length;b++){var c=a[b];if(6<=c.length&&"rtx"==c[1]&&c[5].apt)return!0}return!1};g.jj=function(){this.u&&(hi(this),this.u.Of(this.S))};
g.ql=function(a){if("mf"==a.g)ji(this,Me(a));else if("fe"==a.g)this.dispatchEvent(new di(Me(a)));else if("termall"==a.g)this.dispatchEvent("e");else if("f-dead"==a.g)this.fb=this.i=null;else if("fs"==a.g)this.fb=Me(a)[1],this.dispatchEvent(new bi(0,this.fb?this.fb.callId:null));else if("media-state"==a.g){var b=Me(a)[1];a=b&&b["audio-muted"];b=b&&b["audio-muted-reason"];null!=a&&null!=b&&this.dispatchEvent(new ai(a,b,!1,"unknown"))}};
var ji=function(a,b){if(!b[1]||0>b[1].indexOf("nf")){a.i=b;var c=ii(a);a.i[4]||(a.i[4]=c);a.i[4].os=ki(a);a.i[4].clientver=1;l(a.i[4].renderer)||(a.i[4].renderer=1);a.i[4].browserRenderer=cf(a.W);Ye&&(a.i[4].flashVersion=Ze);null!=bf(a.W)&&(a.i[4].o3dVersion=bf(a.W).nb());null!=a.i[4].browser||(a.i[4].browser=c.browser);null!=a.i[4].clientver||(a.i[4].clientver=c.clientver);null!=a.i[4].connectsequence||(a.i[4].connectsequence=c.connectsequence);!a.Fc("3.12.0.0")&&l(a.i[4].videoRtpHdrExts)&&(a.i[4].videoRtpHdrExts=
[]);a.Fc("3.15.1.0")||kb(a.i[4].audioCodecs||[],function(a){return"opus"==a[1]});if(!a.ue()){var c=a.i[4].audioCodecs||[],d=cb(c,function(a){return"opus"==a[1]});null!=d&&(jb(c,d),a.Rf()&&c.push(d))}}gi(a)},gi=function(a){var b=a.pb();b&&"nf0"!=b[1]?a.M=1:1==a.M?a.M=3:0==a.M&&(a.M=2);a.dispatchEvent(new ci(b))},ki=function(a){var b="other";if(fc)b="windows";else if(ec)b=-1!=dc.indexOf("Intel")?"mac":"mac-ppc";else if(0<=xb.indexOf("CrOS"))b="cros";else{var c;!(c=!gc)&&(c=a.W)&&(a=a.W,c=!(a.i&&bf(a)));
c||(b="linux")}return b},li=function(){var a="Other";Xb?a="Opera":Yb?a="Internet Explorer":uc?a="Firefox":zc?a="Chrome":Ac&&(a="Safari");return a};$h.prototype.pb=function(a){var b;if(this.i&&""!=this.i[1]){b=this.i.slice();var c=cf(this.W),d;a:{d=b;var e;void 0==d?e=this.pb():e=d;if(e&&(d=e[4].renderer))break a;d=0}c&d||(b[1]="nf0",b[2]="0.0.0")}else b=["mf","nf0","0.0.0",1,ii(this)];return a?Jc(b):b};var ii=function(a){var b="";a.u&&(b=a.u.ug());return{os:ki(a),browser:li(),clientver:1,connectsequence:b}};
g=$h.prototype;g.de=function(){if(!this.fb)return 0;switch(this.fb.callType){case "v":return 3;case "a":return 1;default:return 0}};g.we=function(a,b,c,d,e){a=["jt",a,b,c,d];e&&a.push(e);this.xc(Jc(a))};g.Jf=function(){};g.Fc=function(a){var b;b=null!=this.S&&null!=this.S.pluginversion?this.S.pluginversion:this.pb()[2];return 0<=Oa(b,a)};g.Qh=function(){return this.Fc("2.4.0.0")};g.ue=function(){return"cros"!=ki(this)||Zh(this,"coso")};g.Rf=function(){return!0};g.Xh=function(){return!0};
g.X=function(){$h.ha.X.call(this);ad(this.La);this.K.dispose();this.K=null;fi(this);this.S=this.W=null};g.nb=function(){return this.isInstalled()&&null!=this.pb()?this.pb()[2]:null};g.ve=function(){return this.La};g.ng=function(){this.xc(["streamon","null@nowhere.com","nullsession","0",0,null,640,480])};
var mi=new Se("OIU9Vb");var ni=function(a){H(this,a,0,-1,null)};v(ni,E);ni.prototype.L=function(){return P(this)};var oi=function(a){return null==I(a,6)?3E5:I(a,6)},pi=function(a){return null==I(a,7)?0:I(a,7)},qi=function(a){return null==I(a,8)?6E4:I(a,8)},ri=function(a){return null==I(a,11)?!1:I(a,11)};
var si=function(a){H(this,a,0,-1,null)};v(si,E);si.prototype.L=function(){return P(this)};var ti=function(a){H(this,a,0,-1,null)};v(ti,E);ti.prototype.L=function(){return P(this)};var vi=function(a){H(this,a,0,-1,ui)};v(vi,E);var ui=[3];vi.prototype.L=function(){return P(this)};var wi=function(a){return null==I(a,1)?"3.17.0.0":I(a,1)},xi=function(a){H(this,a,0,-1,null)};v(xi,E);xi.prototype.L=function(){return P(this)};xi.prototype.getName=function(){return I(this,2)};var zi=function(a){H(this,a,0,-1,yi)};v(zi,E);var yi=[3,4];zi.prototype.L=function(){return P(this)};
var Ai=function(a){H(this,a,"ci:asc",-1,null)};v(Ai,E);Ai.prototype.L=function(){return P(this)};Q("ci:asc",Ai);Ai.prototype.getName=function(){return I(this,1)};var Bi=function(a){H(this,a,0,-1,null)};v(Bi,E);Bi.prototype.L=function(){return P(this)};var Ci=function(a){H(this,a,0,-1,null)};v(Ci,E);Ci.prototype.L=function(){return P(this)};var Di=function(a){H(this,a,"ci:ha:a",-1,null)};v(Di,E);Di.prototype.L=function(){return P(this)};Q("ci:ha:a",Di);var Fi=function(a){H(this,a,"ci:cbb",-1,Ei)};v(Fi,E);var Ei=[36];Fi.prototype.L=function(){return P(this)};Q("ci:cbb",Fi);var Gi=function(a){H(this,a,"ci:dc",-1,null)};v(Gi,E);Gi.prototype.L=function(){return P(this)};Q("ci:dc",Gi);var Hi=function(a){H(this,a,"ci:ec",-1,null)};v(Hi,E);Hi.prototype.L=function(){return P(this)};Q("ci:ec",Hi);var Ii=function(a){H(this,a,"ci:gc",-1,null)};v(Ii,E);Ii.prototype.L=function(){return P(this)};Q("ci:gc",Ii);var Ji=function(a){H(this,a,"ci:cpc",-1,null)};v(Ji,E);Ji.prototype.L=function(){return P(this)};Q("ci:cpc",Ji);var Ki=function(a){H(this,a,"ci:ha:q",-1,null)};v(Ki,E);Ki.prototype.L=function(){return P(this)};Q("ci:ha:q",Ki);var Li=function(a){H(this,a,"ci:ha",-1,null)};v(Li,E);Li.prototype.L=function(){return P(this)};Q("ci:ha",Li);var Mi=function(a){H(this,a,"ci:hpa",-1,null)};v(Mi,E);Mi.prototype.L=function(){return P(this)};Q("ci:hpa",Mi);var Oi=function(a){H(this,a,"ci:csm",-1,Ni)};v(Oi,E);var Ni=[15];Oi.prototype.L=function(){return P(this)};Q("ci:csm",Oi);var Pi=function(a){H(this,a,"ci:csmmc",-1,null)};v(Pi,E);Pi.prototype.L=function(){return P(this)};Q("ci:csmmc",Pi);var Qi=function(a){H(this,a,"ci:cui:uss",-1,null)};v(Qi,E);Qi.prototype.L=function(){return P(this)};Q("ci:cui:uss",Qi);Qi.prototype.getName=function(){return null==I(this,2)?"":I(this,2)};var Si=function(a){H(this,a,"ci:cui",-1,Ri)};v(Si,E);var Ri=[9,30];Si.prototype.L=function(){return P(this)};Q("ci:cui",Si);var Ti=function(a){H(this,a,"ci:cro",-1,null)};v(Ti,E);Ti.prototype.L=function(){return P(this)};Q("ci:cro",Ti);var Ui=function(a){Ti.call(this,a);this.Yc="u";this.Bd=!1;this.P="";this.U="channel";this.ba="CLID"+String(Math.random()).substring(2);this.ub="";this.version="local";this.da="WCX";this.fb=-1;this.qa="_GC_roster";this.He=0;this.i=[];this.u=[];this.Wc=[];this.la="";this.T="Google Talk";this.H=this.Ee=this.Ad=this.Cd=!1;this.yl=!0;this.gb=this.Ga=this.Ba=this.Ca=!1;this.Z=0;this.W=!1;this.Ka="";this.K=this.bf=this.wl=!1;this.F="";this.mf=!0;this.locale="pt-BR";this.Hb=this.ul=this.Dd=!1;this.Kb=!0;
this.Jb=this.Ub=this.Tc=this.Vc=this.ec=this.Db=!1;this.Ie=null;this.Pe=!0;this.Zc=this.tf=!1;this.La=1073741824;this.Ne=Infinity;this.Bl=this.wa=this.za=this.ya=this.O=this.zd=this.$c=this.ad=!1;this.va=!0;this.Ma=-1;this.na=1;this.N=!1;this.Fe=this.Cb="";this.fi=null;this.zl=!0;this.Xc=this.ua=this.kf=this.M=this.Ik=this.Uc=this.Na=this.Tb=!1;this.ob=null;this.Ge=this.Al=this.Cl=this.Yb=this.cf=this.Qa=!1;a=K(this,Ji,2,1);a=null==I(a,7)?"":I(a,7);l(a)||(a=K(this,Ji,2,1),J(a,7,""));this.G=!1;this.pa=
null;this.Aa=this.S=0};v(Ui,Ti);var Vi=new Se("prW3ub");Ui.prototype.register=function(a){null===Wi(a,Vi)&&Xi(a,Vi,this)};
ba("GoogleChat_GetConfig",function(a,b,c,d,e,f,h,m,n,r,w,A,F,O,ja,Pa,Sa,tb,xc,Oc,IC,JC,KC,LC,fu,MC,NC,OC,PC,QC,RC,SC,TC,UC,VC,WC,XC,YC,ZC,$C,aD,bD,cD,dD,eD,fD,gD,hD,iD,jD,kD,lD,mD,nD,oD,pD,qD,rD,sD,tD,uD,vD,wD,xD,yD,zD,AD,BD,CD,DD,ED,FD,GD,gu,HD,ID,G){G&&(G=Hc(G));G=new Ui(G);G.Bd=!0;G.P=a;G.U=b;G.ba=c;G.Yc=d;G.ub=e;G.version=f;G.da=h;G.fb=m;G.qa=n;G.He=r;G.i=w;G.u=A;G.Wc=F;G.la=O;G.T=ja;G.Cd="aquasar"==ja||"Google-Voice"==ja;G.Ad="hangout_lite"==ja||"hangout"==ja;G.Ee="gvc"==ja;G.ad="ChromeOS"==
ja;G.$c="aChromeExtension"==ja;G.zd="gmail"==ja;G.H="present"==ja;G.yl=Pa;G.Ca=Sa;G.Ba=tb;G.Ga=xc;G.gb=Oc;G.Z=IC;G.W=JC;G.Ka=KC;G.wl=LC;G.bf=fu;G.K=MC;G.F=NC;G.mf=OC;G.locale=PC;G.Dd=QC;G.ul=RC;G.Hb=SC;G.Kb=TC;G.Db=UC;G.ec=VC;G.Vc=WC;G.Tc=XC;G.Ub=YC;G.Jb=ZC;G.Ie=$C;G.tf=aD;G.Pe=bD;G.Zc=cD;G.La=dD;G.Ne=eD;G.O=fD;G.ya=gD;G.za=hD;G.wa=iD;G.Bl=jD;G.va=kD;G.Ma=lD;G.na=mD;G.N=nD;G.Cb=oD;G.Fe=pD;G.fi=qD;G.zl=rD;G.Tb=sD;G.Na=tD;G.Uc=uD;G.Ik=vD;G.M=wD;G.kf=xD;G.ua=yD;G.Xc=zD;G.ob=AD;G.Qa=BD;G.cf=CD;G.Yb=DD; G.Cl=ED;G.Al=FD;G.Ge=GD;G.G=fu||!I(K(G,Oi,3,1),32);gu&&(G.pa=new Gi(Hc(gu)));G.S=HD||0;G.Aa=ID||0;switch(ja){case "docs":G.G=!1}return G},void 0);
var Yi=function(a,b){this.m=a;this.g=b;this.constructor.Xf||(this.constructor.Xf={});this.constructor.Xf[this.toString()]=this};Yi.prototype.wb=function(){return this.toString()};Yi.prototype.toString=function(){this.i||(this.i=this.m.g+":"+this.g);return this.i};Yi.prototype.sa=function(){return this.g};
var Zi=function(a,b){Yi.call(this,a,b)};v(Zi,Yi);var $i=function(a){this.g=a};new $i("lib");var aj=function(a){var b={},c={},d=[],e=[],f=function(a){if(!c[a]){var e=a instanceof Se?a.i:[];c[a]=B(e);x(e,function(c){b[c]=b[c]||[];b[c].push(a)});e.length||d.push(a);x(e,f)}};for(x(a,f);d.length;){var h=d.shift();e.push(h);b[h]&&x(b[h],function(a){jb(c[a],h);c[a].length||d.push(a)})}var m={},n=[];x(e,function(a){a instanceof Se&&(a=a.g,null==a||m[a]||(m[a]=!0,n.push(a)))});return{services:e,fj:n}};
/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var D=function(a,b){this.F=[];this.U=a;this.O=b||null;this.J=this.i=!1;this.l=void 0;this.M=this.W=this.H=!1;this.G=0;this.m=null;this.u=0},bj=function(a,b){if(a.i)a.l instanceof D&&bj(a.l);else{if(a.m){var c=a.m;delete a.m;b?bj(c,b):(c.u--,0>=c.u&&bj(c))}a.U?a.U.call(a.O,a):a.M=!0;a.i||a.g(new cj)}};D.prototype.N=function(a,b){this.H=!1;dj(this,a,b)};var dj=function(a,b,c){a.i=!0;a.l=c;a.J=!b;ej(a)},gj=function(a){if(a.i){if(!a.M)throw new fj;a.M=!1}};
D.prototype.ma=function(a){gj(this);dj(this,!0,a)};D.prototype.g=function(a){gj(this);dj(this,!1,a)};D.prototype.V=function(a,b){return hj(this,a,null,b)};var ij=function(a,b,c){return hj(a,null,b,c)},jj=function(a,b,c){return hj(a,b,b,c)},hj=function(a,b,c,d){a.F.push([b,c,d]);a.i&&ej(a);return a};D.prototype.then=function(a,b,c){var d,e,f=new og(function(a,b){d=a;e=b});hj(this,d,function(a){a instanceof cj?f.J():e(a)});return f.then(a,b,c)};lg(D);
var kj=function(a,b){hj(a,b.ma,b.g,b)},lj=function(a,b){b instanceof D?a.V(t(b.Ke,b)):a.V(function(){return b})};D.prototype.Ke=function(a){var b=new D;kj(this,b);a&&(b.m=this,this.u++);return b};
var mj=function(a){return $a(a.F,function(a){return ma(a[1])})},ej=function(a){if(a.G&&a.i&&mj(a)){var b=a.G,c=nj[b];c&&(k.clearTimeout(c.g),delete nj[b]);a.G=0}a.m&&(a.m.u--,delete a.m);for(var b=a.l,d=c=!1;a.F.length&&!a.H;){var e=a.F.shift(),f=e[0],h=e[1],e=e[2];if(f=a.J?h:f)try{var m=f.call(e||a.O,b);l(m)&&(a.J=a.J&&(m==b||m instanceof Error),a.l=b=m);if(mg(b)||"function"===typeof k.Promise&&b instanceof k.Promise)d=!0,a.H=!0}catch(n){b=n,a.J=!0,mj(a)||(c=!0)}}a.l=b;d&&(m=t(a.N,a,!0),d=t(a.N,
a,!1),b instanceof D?(hj(b,m,d),b.W=!0):b.then(m,d));c&&(b=new oj(b),nj[b.g]=b,a.G=b.g)},pj=function(a){var b=new D;b.ma(a);return b},qj=function(a){var b=new D;b.g(a);return b},fj=function(){ua.call(this)};v(fj,ua);fj.prototype.message="Deferred has already fired";fj.prototype.name="AlreadyCalledError";var cj=function(){ua.call(this)};v(cj,ua);cj.prototype.message="Deferred was canceled";cj.prototype.name="CanceledError";var oj=function(a){this.g=k.setTimeout(t(this.i,this),0);this.m=a}; oj.prototype.i=function(){delete nj[this.g];throw this.m;};var nj={},rj=function(){var a=nj,b;for(b in a){var c=a[b];k.clearTimeout(c.g);c.i()}};
var tj=function(a){Zc.call(this);this.i={};this.H={};this.l={};this.g={};this.F={};this.P={};this.G=a?a.G:new T;this.W=!a;this.u=null;a?(this.u=a,this.l=a.l,this.g=a.g,this.H=a.H,this.F=a.F):u();a=sj(this);this!=a&&(a.T?a.T.push(this):a.T=[this])};v(tj,Zc);var uj=.05>Math.random(),sj=function(a){for(;a.u;)a=a.u;return a},vj=function(a,b){for(var c=a;c;){if(c==b)return!0;c=c.u}return!1};tj.prototype.get=function(a){var b=Wi(this,a);if(null==b)throw new wj(a);return b};
var xj=function(a,b){return!!(a.i[b]||a.l[b]||(b instanceof Se?b.g:a.H[b]))},Wi=function(a,b){for(var c=a;c;c=c.u){if(c.J)throw Error("H");if(c.i[b])return c.i[b][0];if(c.P[b])break}if(c=a.l[b]){c=c(a);if(null==c)throw Error("I`"+b);Xi(a,b,c);return c}return null},zj=function(a,b,c){return yj(a,[b],c)[b]},yj=function(a,b,c){var d=!c;c={};for(var e=[],f=[],h={},m={},n=Wi(a,Te),r=0;r<b.length;r++){var w=b[r],A=Wi(a,w);if(A){var F=new D;c[w]=F;A.Je&&(lj(F,A.Je()),F.V(ta(function(a){return a},A)));F.ma(A)}else{var O;
w instanceof Se?O=aj([w]).fj:(A=a.H[w])&&(O=[A]);!d||O&&O.length?(O&&(n&&w instanceof Se&&n.$n()&&(uj&&(F=n.ao(Aj),m[w]=F),n.Wn(w)),e.push.apply(e,O),h[w]=Va(O)),f.push(w)):(F=new D,c[w]=F,F.g(new wj(w)))}}if(d){if(e.length){a.K&&a.K.push("loaded("+f+","+e+")\n"+Ie());for(r=0;r<f.length;r++)a.G.dispatchEvent(new Bj("s"));b=Cj(a).Un(e);for(r=0;r<f.length;r++)w=f[r],A=h[w],F=b[A].Ke(),c[w]=F,m[w]&&F.V(function(){n.Pn(m[w])}),Dj(a,F,w,A)}}else for(r=0;r<f.length;r++)w=f[r],A=e[r],F=new D(t(a.S,a,w)),
c[w]=F,(b=a.g[w])||(a.g[w]=b=[]),A&&Ej(a,F,w,A),F.V(t(a.M,a,w,A)),b.push({Ia:a,d:F});return c},Ej=function(a,b,c,d){b.V(function(){this.K&&this.K.push("loaded("+c+","+d+")\n"+Ie());return Cj(this).load(d)},a);ij(b,t(a.N,a,c,d))},Dj=function(a,b,c,d){b.V(function(){this.G.dispatchEvent(new Bj("t"))},a);ij(b,t(a.N,a,c,d));b.V(t(a.M,a,c,d))};
tj.prototype.M=function(a,b){var c=Wi(this,a);if(null==c){if(this.F[a]){var d=this.F[a].Ke();d.V(t(this.M,this,a,b));return d}throw new Fj(a,b,"Module loaded but service or factory not registered with app contexts.");}return c.Je?(d=new D,lj(d,c.Je()),d.ma(c),d.V(t(this.O,this,a)),d):this.O(a)};tj.prototype.O=function(a){this.F[a]&&delete this.F[a];return this.get(a)};tj.prototype.N=function(a,b,c){return c instanceof cj?c:new Gj(a,b,c)};
var Xi=function(a,b,c){if(a.J)ad(c);else{a.i[b]=[c,!0];c=Hj(a,a,b);for(var d=0;d<c.length;d++)c[d].ma(null);delete a.H[b]}},Kj=function(a,b){var c=Ij;a.l[c]=b;var d=a.g[c];if(d){if(1<d.length){for(var e=0;e<d.length;++e)d[e].index=e;d.sort(Jj)}for(;d.length;)d.shift().d.ma(null);delete a.g[c]}},Jj=function(a,b){if(a.Ia!=b.Ia){if(vj(a.Ia,b.Ia))return 1;if(vj(b.Ia,a.Ia))return-1}return a.index<b.index?-1:a.index==b.index?0:1},Hj=function(a,b,c){var d=[],e=a.g[c];e&&(Xa(e,function(a){vj(a.Ia,b)&&(d.push(a.d),
jb(e,a))}),0==e.length&&delete a.g[c]);return d},Lj=function(a,b){a.g&&Ae(a.g,function(a,d,e){Xa(a,function(d){d.Ia==b&&jb(a,d)});0==a.length&&delete e[d]})};tj.prototype.S=function(a,b){var c=this.g&&this.g[a];if(c){for(var d=0;d<c.length;++d)if(c[d].Ia==this&&c[d].d==b){ib(c,d);break}0==c.length&&delete this.g[a]}};
tj.prototype.X=function(){if(sj(this)==this){var a=this.T;if(a)for(;a.length;)a[0].dispose()}else for(var a=sj(this).T,b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}for(var c in this.i)a=this.i[c],a[1]&&a[0].dispose&&a[0].dispose();this.i=null;this.W&&this.G.dispose();Lj(this,this);this.g=null;ad(this.U);this.P=this.U=null;tj.ha.X.call(this)};var Cj=function(a){return a.Aa?a.Aa:a.u?Cj(a.u):null},wj=function(a){ua.call(this);this.id=a;this.message='Service for "'+a+'" is not registered'};
v(wj,ua);var Gj=function(a,b,c){ua.call(this);this.cause=c;this.message='Module "'+b+'" failed to load when requesting the service "'+a+'" [cause: '+c+"]";this.stack=c.stack+"\nWRAPPED BY:\n"+this.stack};v(Gj,ua);var Fj=function(a,b,c){ua.call(this);this.message='Configuration error when loading the module "'+b+'" for the service "'+a+'": '+c};v(Fj,ua);var Bj=function(a){R.call(this,a)};v(Bj,R);var Mj=new $i("fva"),Aj=new Zi(Mj,1);
var Nj=function(a){this.m=a.get(Vi);this.i=new De(this.m.i)};Nj.prototype.g=function(a){return this.i.contains(a)};var Oj=function(){},Pj=function(a,b){a.ha||v(a,Oj);b.gd=a},Qj=function(a,b,c){a.ha||v(a,b);c=c||0;a.kg=c;if(b.xb){b=b.xb;for(var d=0,e=b.length-1;d<=e;){var f=d+e>>1;c>b[f].kg?e=f-1:d=f+1}d<b.length&&b[d].kg==c&&++d;b.splice(d,0,a)}else b.xb=[a]},Tj=function(a){var b=a.gd,c=function(a){c.ha.constructor.call(this,a);var b=this.xb.length;this.i=[];for(var d=0;d<b;++d)this.xb[d].On||(this.i[d]=new this.xb[d](a))};v(c,b);for(var d=[];a;){if(b=a.gd){b.xb&&mb(d,b.xb);var e=b.prototype,f;for(f in e)if(e.hasOwnProperty(f)&&
ma(e[f])&&e[f]!==b){var h=!!e[f].Mn,m=Rj(f,e,d,h);(h=Sj(f,e,m,h))&&(c.prototype[f]=h)}}a=a.ha&&a.ha.constructor}c.prototype.xb=d;return c},Rj=function(a,b,c,d){for(var e=[],f=0;f<c.length&&(c[f].prototype[a]===b[a]||(e.push(f),!d));++f);return e},Sj=function(a,b,c,d){var e;c.length?d?e=function(b){var d=this.i[c[0]];return d?d[a].apply(this.i[c[0]],arguments):this.xb[c[0]].prototype[a].apply(this,arguments)}:b[a].si?e=function(b){var d;a:{d=Array.prototype.slice.call(arguments,0);for(var e=0;e<c.length;++e){var n=
this.i[c[e]];if(n=n?n[a].apply(n,d):this.xb[c[e]].prototype[a].apply(this,d)){d=n;break a}}d=!1}return d}:b[a].fg?e=function(b){var d;a:{d=Array.prototype.slice.call(arguments,0);for(var e=0;e<c.length;++e){var n=this.i[c[e]],n=n?n[a].apply(n,d):this.xb[c[e]].prototype[a].apply(this,d);if(null!=n){d=n;break a}}d=void 0}return d}:b[a].Lg?e=function(b){for(var d=Array.prototype.slice.call(arguments,0),e=0;e<c.length;++e){var n=this.i[c[e]];n?n[a].apply(n,d):this.xb[c[e]].prototype[a].apply(this,d)}}:
e=function(b){for(var d=Array.prototype.slice.call(arguments,0),e=[],n=0;n<c.length;++n){var r=this.i[c[n]];e.push(r?r[a].apply(r,d):this.xb[c[n]].prototype[a].apply(this,d))}return e}:d||b[a].si||b[a].fg||b[a].Lg?e=null:e=Uj;return e},Uj=function(){return[]};Oj.prototype.Oe=function(a){if(this.i)for(var b=0;b<this.i.length;++b)if(this.i[b]instanceof a)return this.i[b];return null};var Vj=function(){var a=function(){};a.fg=!0;return a},Wj=function(){var a=function(){};a.Lg=!0;return a};
var Yj=function(a){if(!a.Ja){var b;for(b=a.constructor;b&&!b.gd;)b=b.ha&&b.ha.constructor;b.gd.lg||(b.gd.lg=Tj(b));b=new b.gd.lg(a);a.Ja=b;a.Oe||(a.Oe=Xj)}},Xj=function(a){return this.Ja.Oe(a)};var Zj=function(){Yj(this)};ea(Zj);var ak=function(){};v(ak,Oj);Pj(ak,Zj);ak.prototype.g=Vj();var bk=function(){};var ck=function(){};v(ck,bk);ck.prototype.Oa=function(){var a=0;re(this.Lb(!0),function(){a++});return a};ck.prototype.clear=function(){var a=se(this.Lb(!0)),b=this;x(a,function(a){b.remove(a)})};var dk=function(a){this.g=a};v(dk,ck);var ek=function(a){if(!a.g)return!1;try{return a.g.setItem("__sak","1"),a.g.removeItem("__sak"),!0}catch(b){return!1}};g=dk.prototype;g.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};g.get=function(a){a=this.g.getItem(a);if(!p(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};g.remove=function(a){this.g.removeItem(a)};
g.Oa=function(){return this.g.length};g.Lb=function(a){var b=0,c=this.g,d=new pe;d.next=function(){if(b>=c.length)throw oe;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!p(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};g.clear=function(){this.g.clear()};g.key=function(a){return this.g.key(a)};
var fk=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};v(fk,dk);var hk=function(a,b){this.i=a;this.g=null;if(Yb&&!(9<=Number(tc))){gk||(gk=new S);this.g=gk.get(a);this.g||(b?this.g=document.getElementById(b):(this.g=document.createElement("userdata"),this.g.addBehavior("#default#userData"),document.body.appendChild(this.g)),gk.set(a,this.g));try{this.g.load(this.i)}catch(c){this.g=null}}};v(hk,ck);
var ik={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},gk=null,jk=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(a){return ik[a]})};g=hk.prototype;g.set=function(a,b){this.g.setAttribute(jk(a),b);kk(this)};g.get=function(a){a=this.g.getAttribute(jk(a));if(!p(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};g.remove=function(a){this.g.removeAttribute(jk(a));kk(this)};g.Oa=function(){return lk(this).attributes.length};
g.Lb=function(a){var b=0,c=lk(this).attributes,d=new pe;d.next=function(){if(b>=c.length)throw oe;var d=c[b++];if(a)return decodeURIComponent(d.nodeName.replace(/\./g,"%")).substr(1);d=d.nodeValue;if(!p(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};g.clear=function(){for(var a=lk(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);kk(this)};var kk=function(a){try{a.g.save(a.i)}catch(b){throw"Storage mechanism: Quota exceeded";}},lk=function(a){return a.g.XMLDocument.documentElement};
var mk=function(a,b){this.i=a;this.g=b+"::"};v(mk,ck);mk.prototype.set=function(a,b){this.i.set(this.g+a,b)};mk.prototype.get=function(a){return this.i.get(this.g+a)};mk.prototype.remove=function(a){this.i.remove(this.g+a)};mk.prototype.Lb=function(a){var b=this.i.Lb(!0),c=this,d=new pe;d.next=function(){for(var d=b.next();d.substr(0,c.g.length)!=c.g;)d=b.next();return a?d.substr(c.g.length):c.i.get(d)};return d};
var nk=function(){var a=new hk("talk.media.VideoQuality");return a.g?a:null};var ok=function(a){this.g=a};ok.prototype.set=function(a,b){l(b)?this.g.set(a,Jc(b)):this.g.remove(a)};ok.prototype.get=function(a){var b;try{b=this.g.get(a)}catch(c){return}if(null!==b)try{return Hc(b)}catch(c){throw"Storage: Invalid value was encountered";}};ok.prototype.remove=function(a){this.g.remove(a)};
var pk=function(a,b){this.g=a;this.i=b};pk.prototype.clone=function(){return new pk(this.g,this.i)};var qk=function(a){this.g=a instanceof Nj?t(a.g,a):a},sk=function(a,b,c){this.l=a;this.g=b;this.m=c||30;this.i=rk},rk=new function(a,b){this.id=a;this.name=b}(100,"VP8"),tk=new sk(1280,61),uk=new sk(640,31),vk=new sk(320,1),wk=new sk(160,1,10),xk={"MacBookAir6,1":!0,"MacBookAir6,2":!0},yk=[new pk("vf7",tk),new pk("vfv",uk)],zk=function(a,b){if(null==b||null==b.g)return vk;for(var c=0;c<yk.length;c++){var d=yk[c],e=d.i;if(a.g(d.g))return e}if(c=a.g("hfh"))c=new fk,c=ek(c)?new mk(c,"talk.media.VideoQuality"):
null,c=(new ok(c||nk())).get("f");if(c)return tk;c=vk;if("GenuineIntel"==b.g)switch(b.l){case 3:case 4:case 5:c=wk;break;case 6:13>b.m&&9!=b.m&&(c=wk)}else if("AuthenticAMD"==b.g)switch(b.l){case 4:case 5:case 6:c=wk}else"ARM"!=b.g&&(c=wk);-1==b.u||0!=b.J&&1!=b.J||2==(b.u&2)||(c=wk);e=c;e==vk&&(e=(("GenuineIntel"==b.g&&!Uh(b)||null!=b.F&&xk[b.F]?0:4<=b.i)?tk:("GenuineIntel"!=b.g||Uh(b))&&2<=b.i?uk:null)||e);return e},Ak=function(a){var b=a.l;1280<b&&(b=1280);b=new ff(b,Math.floor(.5625*b));return["jec", [[a.i.id,a.i.name,b.width,b.height,a.m]],{num_threads:-1,cpu_profile:a.g,apply_immediately:!0,force_reopen:!1}]};
var Bk;var Ck=function(a,b,c,d,e,f){D.call(this,e,f);this.K=a;this.T=[];this.P=!!b;this.ba=!!c;this.Z=!!d;for(b=this.Aa=0;b<a.length;b++)hj(a[b],t(this.S,this,b,!0),t(this.S,this,b,!1));0!=a.length||this.P||this.ma(this.T)};v(Ck,D);Ck.prototype.S=function(a,b,c){this.Aa++;this.T[a]=[b,c];this.i||(this.P&&b?this.ma([a,c]):this.ba&&!b?this.g(c):this.Aa==this.K.length&&this.ma(this.T));this.Z&&!b&&(c=null);return c};Ck.prototype.g=function(a){Ck.ha.g.call(this,a);for(a=0;a<this.K.length;a++)bj(this.K[a])}; var Dk=function(a){return(new Ck(a,!1,!0)).V(function(a){for(var c=[],d=0;d<a.length;d++)c[d]=a[d][1];return c})};
var Fk=function(a,b){T.call(this);this.l=a;this.u=window.URL.createObjectURL(b);this.g=new U(this);this.m(this.g);this.i=[];this.F=0;Ek(this,1)};v(Fk,T);
var Ek=function(a,b){var c=Math.ceil(b)-a.i.length;if(0<c){for(var d=[],e=0;e<c;++e){var f=a.l.createElement("audio"),h=new D;f.autoplay=!0;f.src=a.u;Nf(a.g,f,"playing",t(h.ma,h));a.i.push(f);d.push(h);a.l.Si(a.l.g.body,f)}(new Ck(d)).V(t(a.dispatchEvent,a,"playing"))}else if(0>c)for(c=-c,d=0;d<c;++d)e=a.i.pop(),e.src="",a.l.yg(e);0<b&&(a.i[0].volume=b-(a.i.length-1));a.F=b};Fk.prototype.X=function(){Ek(this,0);window.URL.revokeObjectURL(this.u);Fk.ha.X.call(this)}; Fk.prototype.getCurrentTime=function(){return 0==this.i.length?null:this.i[0].currentTime};
var Gk=function(a){return(a=a.exec(xb))?a[1]:""},Hk=function(){if(uc)return Gk(/Firefox\/([0-9.]+)/);if(Yb||Zb||Xb)return pc;if(zc)return Gk(/Chrome\/([0-9.]+)/);if(Ac&&!(Vb()||C("iPad")||C("iPod")))return Gk(/Version\/([0-9.]+)/);if(vc||wc){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(xb);if(a)return a[1]+"."+a[2]}else if(yc)return(a=Gk(/Android\s+([0-9.]+)/))?a:Gk(/Version\/([0-9.]+)/);return""}(),Ik=function(a){return 0<=Oa(Hk,a)};
var Jk=["hotrod"],Kk={In:1,Dn:0,Hn:-1,En:-2,Gn:-3,Fn:-4},Lk=new S("wadc","googEchoCancellation2","ia","googAutoGainControl2","wduck","googDucking","audio_echo_cancellation","googEchoCancellation","audio_auto_gain_control","googAutoGainControl","audio_noise_suppression","googNoiseSuppression","audio_highpass_filter","googHighpassFilter","audio_stereo_swapping","googAudioMirroring","audio_transient_suppression","googNoiseSuppression2");new De(Lk.Ta());
var Mk=new S("wvlb","googLeakyBucket","vnr","googNoiseReduction"),Fe=new De(Mk.Ta()),Nk={audio_echo_cancellation:!0,audio_auto_gain_control:!0,audio_noise_suppression:!0,audio_highpass_filter:!0,audio_stereo_swapping:!1,audio_transient_suppression:!1},Ok=function(a){var b=Nb(Nk);a=a||[];z(a,"wadc")&&(b.wadc=!0);z(a,"ia")&&(b.ia=!0);z(a,"wda")&&(b.audio_echo_cancellation=!1);z(a,"wts")&&zc&&Ik(35)&&(b.audio_transient_suppression=!0);b.wduck=z(a,"wduck");return b},Pk=function(a){var b={};a=Ge(a||[]);
Ae(a,function(a){b[a]=!0});return b},Sk=function(a,b){var c=a.location.href,d=ih(c,"webrtc");null!=d||(d=ih(c,"lantern"));if(null!=d&&(d=Number(d),Hb(Kk,d)&&(1!=d||b("npl"))))return d;if(Xb||!zc||!Ik(35))return-1;d=c.match(dh)[5]||null;if(wa((d?decodeURI(d):d)||"","/hangouts/_/present")&&!(Qk()||(gc?zc&&Ik(35):zc&&Ik(34))))return-4;if(b("fp")&&!Qk()||b("pp")&&!Qk()&&Rk())return 0;c=ih(c,"screen");return z(Jk,c)&&b("hrfp")&&Rk()?0:1},Tk=function(a,b){return 1==Sk(a,b)},Rk=function(){if(!zc)return!1;
var a=k.navigator;if(a){var b=hf(),c=null;a.mimeTypes["application/o1d"]||a.plugins.refresh();a.mimeTypes["application/o1d"]&&(c=b.xg("OBJECT",{style:"position:absolute; top: 0; left: 0;",type:"application/o1d",width:"1px",height:"1px"}));a=c;if(null!=a)return b.g.documentElement.appendChild(a),c=null!=a.frameCount,b.g.documentElement.removeChild(a),c}return!1},Qk=function(){return-1!=xb.indexOf("CrOS")};
var Uk=function(){Zc.call(this)};v(Uk,Zc);Uk.prototype.init=function(){};new Uk;var Vk=function(a){this.i=0;this.m=a||100;this.g=[]};g=Vk.prototype;g.add=function(a){var b=this.g[this.i];this.g[this.i]=a;this.i=(this.i+1)%this.m;return b};g.get=function(a){a=Wk(this,a);return this.g[a]};g.set=function(a,b){a=Wk(this,a);this.g[a]=b};g.Oa=function(){return this.g.length};g.Sb=function(){return 0==this.g.length};g.clear=function(){this.i=this.g.length=0};g.xa=function(){for(var a=this.Oa(),b=this.Oa(),c=[],a=this.Oa()-a;a<b;a++)c.push(this.get(a));return c};
g.Ta=function(){for(var a=[],b=this.Oa(),c=0;c<b;c++)a[c]=c;return a};g.fd=function(a){for(var b=this.Oa(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var Wk=function(a,b){if(b>=a.g.length)throw Error("J");return a.g.length<a.m?b:(a.i+Number(b))%a.m};
var Xk=function(){};Xk.prototype.g=null;var Zk=function(a){var b;(b=a.g)||(b={},Yk(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};var $k,al=function(){};v(al,Xk);var bl=function(a){return(a=Yk(a))?new ActiveXObject(a):new XMLHttpRequest},Yk=function(a){if(!a.i&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.i=d}catch(e){}}throw Error("K");}return a.i};$k=new al;
var cl=function(a){T.call(this);this.headers=new S;this.H=a||null;this.i=!1;this.G=this.g=null;this.N="";this.l=this.M=this.u=this.K=!1;this.O=0;this.F=null;this.U="";this.P=this.W=!1};v(cl,T);var dl=/^https?$/i,el=["POST","PUT"],fl=[];cl.prototype.Z=function(){this.dispose();jb(fl,this)};
cl.prototype.send=function(a,b,c,d){if(this.g)throw Error("L`"+this.N+"`"+a);b=b?b.toUpperCase():"GET";this.N=a;this.K=!1;this.i=!0;this.g=this.H?bl(this.H):bl($k);this.G=this.H?Zk(this.H):Zk($k);this.g.onreadystatechange=t(this.S,this);try{this.M=!0,this.g.open(b,String(a),!0),this.M=!1}catch(f){gl(this);return}a=c||"";var e=this.headers.clone();d&&Ae(d,function(a,b){e.set(b,a)});d=cb(e.Ta(),hl);c=k.FormData&&a instanceof k.FormData;!z(el,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");
e.forEach(function(a,b){this.g.setRequestHeader(b,a)},this);this.U&&(this.g.responseType=this.U);Gb(this.g,"withCredentials")&&(this.g.withCredentials=this.W);try{il(this),0<this.O&&((this.P=jl(this.g))?(this.g.timeout=this.O,this.g.ontimeout=t(this.Sd,this)):this.F=V(this.Sd,this.O,this)),this.u=!0,this.g.send(a),this.u=!1}catch(f){gl(this)}};var jl=function(a){return Yb&&rc(9)&&q(a.timeout)&&l(a.ontimeout)},hl=function(a){return"content-type"==a.toLowerCase()};
cl.prototype.Sd=function(){"undefined"!=typeof aa&&this.g&&(this.dispatchEvent("timeout"),this.g&&this.i&&(this.i=!1,this.l=!0,this.g.abort(),this.l=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),kl(this)))};var gl=function(a){a.i=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);ll(a);kl(a)},ll=function(a){a.K||(a.K=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};cl.prototype.X=function(){this.g&&(this.i&&(this.i=!1,this.l=!0,this.g.abort(),this.l=!1),kl(this,!0));cl.ha.X.call(this)};
cl.prototype.S=function(){this.J||(this.M||this.u||this.l?ml(this):this.ba())};cl.prototype.ba=function(){ml(this)};
var ml=function(a){if(a.i&&"undefined"!=typeof aa&&(!a.G[1]||4!=nl(a)||2!=a.ib()))if(a.u&&4==nl(a))V(a.S,0,a);else if(a.dispatchEvent("readystatechange"),4==nl(a)){a.i=!1;try{ol(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.ib(),ll(a))}finally{kl(a)}}},kl=function(a,b){if(a.g){il(a);var c=a.g,d=a.G[0]?da:null;a.g=null;a.G=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},il=function(a){a.g&&a.P&&(a.g.ontimeout=null);q(a.F)&&(Ng(a.F),a.F=null)},ol=function(a){var b=
a.ib(),c;a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=String(a.N).match(dh)[1]||null,!a&&k.self&&k.self.location&&(a=k.self.location.protocol,a=a.substr(0,a.length-1)),b=!dl.test(a?a.toLowerCase():"");c=b}return c},nl=function(a){return a.g?a.g.readyState:0};cl.prototype.ib=function(){try{return 2<nl(this)?this.g.status:-1}catch(a){return-1}}; cl.prototype.getResponseHeader=function(a){return this.g&&4==nl(this)?this.g.getResponseHeader(a):void 0};
var pl="/hangouts/_/mlr/",rl=function(a,b,c){var d=new FormData;d.append("prod",ec?"Google_Talk_Plugin_Mac":fc?"Google_Talk_Plugin":"Google_Talk_Plugin_Linux");d.append("ver","10.0.0.0-calls");d.append("email",b);d.append("type","log");d.append("log",a,c);a=nf();return(a=null!=a.event&&"beforeunload"==a.event.type)&&navigator.sendBeacon&&navigator.sendBeacon(pl,d)?new D:ql(d,a)},ql=function(a,b){var c=new XMLHttpRequest,d=new D,e=function(a){d.g(Error("M`"+a.type+"`"+c.status+"`"+c.statusText))}, f=function(){d.ma(new sl(c.status,c.responseText))};b||(c.onerror=e,c.onabort=e,c.ontimeout=e,c.onload=f);try{c.open("POST",pl,!b),c.send(a),b&&f()}catch(h){d.g(h)}return d},sl=function(a,b){this.g=a;this.i=b};
var tl=function(a,b,c){this.id=a;this.label=b||"";this.g=c||""},ul=new tl("__absent_device__","__absent_device__","__absent_device__"),vl=function(a,b){return a==b?!0:null!=a&&null!=b&&a.id==b.id&&a.label==b.label&&a.g==b.g};tl.prototype.toString=function(){return"["+this.id+"/"+this.label+"/"+this.g+"]"};
var wl=new Se("c");var xl=function(){this.g=[]};xl.prototype.i=function(a){this.g.push(a);1E4<this.g.length&&this.g.splice(this.g.length/2,1)};xl.prototype.clear=function(){this.g.length=0};var zl=function(a,b){l(a.name)?(this.name=a.name,this.code=Ib[a.name]):(this.code=a.code,this.name=yl(a.code));ua.call(this,xa("%s %s",this.name,b))};v(zl,ua);var yl=function(a){var b=Jb(function(b){return a==b});if(!l(b))throw Error("N`"+a);return b},Ib={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
var Al=function(a,b){R.call(this,a.type,b)};v(Al,R);var Bl=function(a){T.call(this);this.g=a;this.g.onwritestart=t(this.i,this);this.g.onprogress=t(this.i,this);this.g.onwrite=t(this.i,this);this.g.onabort=t(this.i,this);this.g.onerror=t(this.i,this);this.g.onwriteend=t(this.i,this)};v(Bl,T);Bl.prototype.i=function(a){this.dispatchEvent(new Al(a,this))};Bl.prototype.X=function(){delete this.g;Bl.ha.X.call(this)};
var Cl=function(a){Bl.call(this,a);this.l=a};v(Cl,Bl);Cl.prototype.write=function(a){try{this.l.write(a)}catch(b){throw new zl(b,"writing file");}};var Dl=function(a,b){this.i=a;this.g=b};Dl.prototype.isDirectory=function(){return this.g.isDirectory};Dl.prototype.getName=function(){return this.g.name};var El=function(a){return a.getMetadata().V(function(a){return a.modificationTime})};Dl.prototype.getMetadata=function(){var a=new D;this.g.getMetadata(function(b){a.ma(b)},t(function(b){a.g(new zl(b,"retrieving metadata for "+this.g.fullPath))},this));return a};
Dl.prototype.remove=function(){var a=new D;this.g.remove(t(a.ma,a,!0),t(function(b){a.g(new zl(b,"removing "+this.g.fullPath))},this));return a};var Gl=function(a){var b=new D;a.g.getParent(t(function(a){b.ma(new Fl(this.i,a))},a),t(function(a){b.g(new zl(a,"getting parent of "+this.g.fullPath))},a));return b},Fl=function(a,b){Dl.call(this,a,b);this.m=b};v(Fl,Dl);
var Jl=function(a,b,c){var d=new D;a.m.getFile(b,Hl(c),t(function(a){d.ma(new Il(this.i,a))},a),t(function(a){d.g(new zl(a,"loading file "+b+" from "+this.g.fullPath))},a));return d};Fl.prototype.getDirectory=function(a,b){var c=new D;this.m.getDirectory(a,Hl(b),t(function(a){c.ma(new Fl(this.i,a))},this),t(function(b){c.g(new zl(b,"loading directory "+a+" from "+this.g.fullPath))},this));return c};
var Ll=function(a,b){function c(a){if(!e.length)return pj(a);var b=e.shift();return(".."==b?Gl(a):"."==b?pj(a):a.getDirectory(b,2)).V(c)}if(wa(b,"/")){var d=Kl(a.i);if(a.g.fullPath!=d.g.fullPath)return Ll(d,b)}var e=Ya(b.split("/"),Qd);return c(a)},Ml=function(a){var b=new D,c=a.m.createReader(),d=[],e=t(function(a){b.g(new zl(a,"listing directory "+this.g.fullPath))},a),f=t(function(a){if(a.length){for(var m=0,n;n=a[m];m++)d.push(n.isFile?new Il(this.i,n):new Fl(this.i,n));c.readEntries(f,e)}else b.ma(d)},
a);c.readEntries(f,e);return b};Fl.prototype.removeRecursively=function(){var a=new D;this.m.removeRecursively(t(a.ma,a,!0),t(function(b){a.g(new zl(b,"removing "+this.g.fullPath+" recursively"))},this));return a};var Hl=function(a){return 2==a?{create:!0}:3==a?{create:!0,exclusive:!0}:{}},Il=function(a,b){Dl.call(this,a,b);this.m=b};v(Il,Dl);
Il.prototype.createWriter=function(){var a=new D;this.m.createWriter(function(b){a.ma(new Cl(b))},t(function(b){a.g(new zl(b,"creating writer for "+this.g.fullPath))},this));return a};var Nl=function(a){var b=new D;a.m.file(function(a){b.ma(a)},t(function(a){b.g(new zl(a,"getting file for "+this.g.fullPath))},a));return b};
var Ol=function(a){this.g=a};Ol.prototype.getName=function(){return this.g.name};var Kl=function(a){return new Fl(a,a.g.root)};var Pl=function(a){var b=k.requestFileSystem||k.webkitRequestFileSystem;if(!ma(b))return qj(Error("O"));var c=new D;b(0,a,function(a){c.ma(new Ol(a))},function(a){c.g(new zl(a,"requesting filesystem"))});return c},Ql=function(a){var b=k.BlobBuilder||k.WebKitBlobBuilder;if(l(b)){for(var b=new b,c=0;c<arguments.length;c++)b.append(arguments[c]);return b.getBlob()}b=B(arguments);c=k.BlobBuilder||k.WebKitBlobBuilder;if(l(c)){for(var c=new c,d=0;d<b.length;d++)c.append(b[d],void 0);b=c.getBlob(void 0)}else if(l(k.Blob))b= new Blob(b,{});else throw Error("P");return b};
var Rl=function(){T.call(this);this.l=new D;this.i=this.u=this.F=null;this.G=2;this.g=new xl;this.H=new xl};v(Rl,T);var Tl=function(a,b,c,d){a.F=c;a.G=d?1:2;b.V(t(a.pj,a));ij(b,Sl(a));return a.l};g=Rl.prototype;g.write=function(a){var b=this.g;x(a,b.i,b);null!=this.i&&1!=this.i.g.readyState&&Ul(this)};g.pj=function(a){a=Jl(a,this.F,this.G);a.V(t(this.Oj,this));ij(a,Sl(this))};g.Oj=function(a){this.u=a;a=a.createWriter();a.V(t(this.tj,this));ij(a,Sl(this))};
g.tj=function(a){try{a.l.seek(a.l.length)}catch(b){throw new zl(b,"seeking in file");}this.i=a;a.addEventListener("writeend",this.$g,!1,this);a=Nl(this.u);a.V(t(this.Uj,this));ij(a,Sl(this))};g.Uj=function(a){this.l.ma(a);this.$g()};g.$g=function(){0<this.g.g.length?Ul(this):this.dispatchEvent("v")};var Ul=function(a){if(0<a.g.g.length){a.i.write(Ql.apply(null,a.g.g));var b=a.H;x(a.g.g,b.i,b);a.g.clear()}},Sl=function(a){return t(function(a){this.l.i||this.l.g(a)},a)};
var Wl=function(a){H(this,a,"cl:plu",-1,Vl)};v(Wl,E);var Vl=[1];Wl.prototype.L=function(){return P(this)};Q("cl:plu",Wl);var Xl=function(a){H(this,a,0,-1,null)};v(Xl,E);Xl.prototype.L=function(){return P(this)};Xl.prototype.aa=function(){return I(this,2)};Xl.prototype.Fa=function(a){J(this,2,a)};
var Yl=function(){this.g=new fk;this.i=new De};ea(Yl);
var Zl=[31,37,41,43,47,53,61,67,71,73],$l=function(a){for(var b=[],c=0,d=0;d<a.length;d++){for(var e=a.charCodeAt(d);255<e;)b[c++]=e&255,e>>=8;b[c++]=e}for(a=0;a<b.length;a++)b[a]^=Zl[a%Zl.length];return"wrplumplu-"+Ec(b)},am=function(a,b,c){var d=u()-432E6;a=a.g.get($l(b));if(null!=a)try{var e=Hc(a);if("cl:plu"==e[0]){var f=new Wl(e),h=Ya(L(f,Xl,1),function(a){return null!=I(a,1)&&null!=a.aa()&&null!=I(a,3)&&0<I(a,1)&&I(a,3)>d&&a.aa()!=c});N(f,1,h);return f}}catch(m){}return new Wl};
Yl.prototype.add=function(a,b){this.i.add(b);var c=am(this,a,b),d=L(c,Xl,1),e=new Xl;J(e,1,5);e.Fa(b);var f=u();J(e,3,f);gb(d,void 0,0,e);N(c,1,d);this.g.set($l(a),c.wb())};Yl.prototype.remove=function(a,b){var c=am(this,a,b);this.g.set($l(a),c.wb())};var bm=function(a,b){var c=am(a,b),d=L(c,Xl,1),e=bb(d,function(a){a=a.aa();return!this.i.contains(a)},a);if(0<=e){var f=d[e],h=f.aa(),m=I(f,1);m--;J(f,1,m);0>=m&&ib(d,e);N(c,1,d);a.g.set($l(b),c.wb());a.i.add(h);return h}return null};
var dm=function(){this.G=!1;this.F=null;this.J=new Rl;this.g={};this.l=cm();this.u=Yl.Pa();this.m=this.i=null};ea(dm);
var fm=function(a,b){a.i=b;a.g[b]=a.J;a.J=new Rl;Tl(a.g[b],a.l,"hangouts-call-"+b+".log");var c=new Date;em(a,b,"### Start ["+c.toString()+"] ###");em(a,b,"Current time is "+c.toUTCString());em(a,b,"Google Talk Plugin Version: 10.0.0.0");em(a,b,"User agent: "+xb)},em=function(a,b,c,d){var e=u();null==a.F&&(a.F=e);c="["+((e-a.F)/1E3).toFixed(3)+"s]"+(null!=d?d:8)+" "+c+"\n";if(null!=b)b=a.g[b],null!=b&&b.write([c]);else{for(b in a.g)a.g[b].write([c]);null!=b||a.J.write([c])}a.G&&window.console.log(c)},
hm=function(a,b,c){a.u.add(c,b);return gm(a,b,c)},gm=function(a,b,c){var d="hangouts-call-"+b+".log",e=a.g[b];if(null!=e)return ij(rl(new Blob(lb(e.H.g,e.g.g),{type:"text/plain"}),c,d).V(t(a.M,a,b,c)),t(a.H,a,b,c));var e=new Rl,f=new D,d=Tl(e,a.l,d,!0);d.V(t(function(a){0<a.size?kj(ij(rl(a,c).V(t(this.M,this,b,c)),t(this.H,this,b,c)),f):(em(this,this.i,"JS log for "+b+" has no content",9),f.ma(new sl(null,"No log content for session "+b)))},a));ij(d,t(function(a){f.g(a)},a));return f},cm=function(){var a=
new D,b=Pl(0);ij(b,function(b){a.g(b)});b.V(function(b){kj(Kl(b).getDirectory("log_v2",2),a)});return a};dm.prototype.N=function(){var a=new Date(u()-432E6),b=new D;this.l.V(function(c){Ml(c).V(function(c){var e=new De;x(c,function(a){e.add(a.getName())});x(c,function(c){var d=function(){e.remove(c.getName());e.Sb()&&b.ma()};El(c).V(function(b){b<a?c.remove().V(d):d()})})})});return b};
dm.prototype.M=function(a,b,c){200==c.g?(em(this,this.i,"JS log upload for "+a+" successful: "+c.i),this.u.remove(b,a)):em(this,this.i,"JS log upload for "+a+" failure "+c.g+": "+c.i,10)};dm.prototype.H=function(a,b,c){em(this,this.i,"JS log upload for "+a+" failed: "+c,10)};var im=function(a,b){return null==a.m?(a.m=new D,a.T(b,0),a.m):null};dm.prototype.T=function(a,b){V(t(this.O,this,a,b),13E3)}; dm.prototype.O=function(a,b){var c=bm(this.u,a);null!=c?(em(this,this.i,"Retrying JS log upload for "+c),ij(gm(this,c,a).V(t(this.T,this,a,b+1)),t(this.K,this,a,b))):this.K(b)};dm.prototype.K=function(a){this.m.ma(a);V(this.N,13E3,this)};
var jm=function(a,b){this.i=a;this.m=b||null;this.g=dm.Pa()},km=function(a,b){em(a.g,a.m,"Error("+a.i+"): "+b,10)};g=jm.prototype;g.$=function(a){em(this.g,this.m,"Warning("+this.i+"): "+a,9)};g.info=function(a){em(this.g,this.m,this.i+": "+a,8)};g.config=function(a){em(this.g,this.m,this.i+": "+a,7)};g.ga=function(a){em(this.g,this.m,this.i+": "+a,8)};g.ra=function(a){em(this.g,this.m,this.i+": "+a,3)};
var lm=function(a,b,c){this.g=b;this.F=null;zj(a,wl,!0).then(function(a){this.F=a},function(){this.F=null},this);this.l=c;this.m=c.g;this.H=!1;this.i=this.J=null;this.I=new jm("talk.media.webrtc.DeviceChannel");this.G=c.g;this.I.info("Initializing "+this.g+" channel. Selected device is "+this.m);this.u=null},nm=function(a){a.u=mm(a);a.I.info("Choosing "+a.g+" "+a.u+" for media request.");return a.u},om=function(a){var b=mm(a);return null!=b&&b!=ul?!vl(b,a.u):!1},mm=function(a){return null!=a.J?a.J:
a.m},rm=function(a,b){a.I.info("UserMedia indicates "+a.g+" "+b+" is being used.");a.u=b;if(null!=b)if(null!=a.J)b.id!=a.J.id&&(a.I.$("UserMedia chose "+a.g+" "+b+" instead of temporary "+a.J),a.J=b,pm(a));else if(null==a.m||b.id!=a.m.id)a.I.info("Updating selected "+a.g+" to "+b+" from UserMedia"),qm(a,b),pm(a)},sm=function(a,b){var c=cb(a.i,function(a){return a.label==b},a);null!=c&&(a.I.info("Updating selected and persistent "+a.g+" based on value migrated from GTP to "+c),a.l.g=c,qm(a,c),pm(a))},
tm=function(a,b,c){var d=a.m;if(-1==b)0==a.i.length?(d=ul,a.I.ga("Selecting "+a.g+" based on setdevicestate: absent.")):a.I.$("setdevicestate for "+a.g+" specified no device when there are devices. Ignoring.");else if(b<a.i.length)d=a.i[b],a.I.ga("Selecting "+a.g+" based on setdevicestate: "+d);else{a.I.$("Got setdevicestate with "+a.g+" index ("+b+") out of range.");return}c?(a.I.info("Persisting "+a.g+" selection "+d),a.l.g=d,qm(a,d),a.J=null):vl(d,mm(a))||(a.J=d);pm(a)},um=function(a){a.J=null;
a.I.info("Reverting "+a.g+" to "+a.m);pm(a)},qm=function(a,b){a.m=b;null==a.l.g&&(a.I.info("Updating uninitialized persistent "+a.g),a.l.g=b)},pm=function(a){if(null!=a.i){a.u=vm(a,a.u)||a.u;if(null!=a.J){var b=vm(a,a.J);null!=b||a.I.$("Temporarily selected "+a.g+" "+a.J+" missing.");a.J=b}b=vm(a,a.m);if(a.l.g!=ul){var c=vm(a,a.l.g);null!=c&&(b!=c&&(a.I.info("Persistently selected "+a.g+" has returned, switching from "+a.m+" to "+c),qm(a,c),b=c),a.l.g=c)}null!=b&&b!=ul?a.m=b:0==a.i.length?(a.u=null,
a.m!=ul&&(a.I.$("Selected "+a.g+" "+a.m+" missing, no others available."),qm(a,ul))):(b=wm(a),a.m==ul?a.I.$(a.g+" devices previously absent, switching to "+b):a.I.$("Selected "+a.g+" "+a.m+" missing, switching to "+b),qm(a,b),null!=a.u&&(a.I.$(a.g+" mute indicated"),a.H=!0))}},wm=function(a){if(a.F)return a.F.g(a.g,a.i);var b=cb(a.i,function(a){return"Communications"==a.label},a);return null!=b?b:a.i[0]},xm=function(a){var b=mm(a);return null!=b?bb(a.i,function(a){return vl(a,b)},a):-1},zm=function(a){return ym(a.l,
a.i,a.g)},Am=function(a){for(var b=zm(a),c=0;c<a.i.length;c++)a.I.ga("Found "+a.g+" "+a.i[c]+" displayed as "+b[c]);a.I.ga("Currently selected "+a.g+": "+mm(a))},Bm=function(a){return!vl(a.l.g,a.G)},vm=function(a,b){if(null==a.i||null==b||b==ul)return b;var c=null,d=null,e=b.g||b.label;""!=e&&$a(a.i,function(a){if(a.g==e)if(null==c)c=a;else return c=null,!0;return!1});null===c&&x(a.i,function(a){a.label!=b.label||""==a.label||null!=c&&a.id!=b.id||(c=a);a.id==b.id&&(d=a)},a);return c||d},Cm=function(a){if(null== a.i||0==a.i.length)return!0;if(null==a.l.g||a.l.g==ul)return!1;var b=vm(a,a.l.g);return!vl(a.m,b)},Dm=function(a){var b=a.H;a.H=!1;return b};
var Fm=function(a,b,c){this.kc=a;this.Rc=b;this.Wb=c;this.g=Em(this.kc)&&Em(this.Wb)},Em=function(a){return 0==a.length||!ab(a,function(a){return""==a.label})};Fm.prototype.Sa=function(a){return this===a?!0:null!=a?vb(this.kc,a.kc,vl)&&vb(this.Rc,a.Rc,vl)&&vb(this.Wb,a.Wb,vl):!1};
var Gm=/^(https:\/\/[^/]*.google.com|http:\/\/[^/]*(localhost|.corp.google.com):\d+|)\/(u\/\d+\/)?(hangouts|talkgadget)(\/.*)?/,Hm=!1,Im=!1,Jm=function(){var a=nf(),b=null,c=a;try{do{try{c.location.origin==a.location.origin&&Gm.test(c.document.URL)&&(b=c.chrome&&c.chrome.runtime||b)}catch(d){}if(c==c.parent)break;c=c.parent}while(null!=c)}catch(d){}return b},Km=function(){return"https:"!=nf().location.protocol||Im?"hoblmflfjcnhdllclikeemgdcbbflkhi":"nkeimhogjdpnpccoofpliimaahmaaome"},Mm=function(a){em(dm.Pa(),
null,"talk.media.webrtc.Extension: Sending message "+Jc(a));var b=new D,c=Jm(),d=a.method;Hm?(em(dm.Pa(),null,"talk.media.webrtc.Extension: Extension is disabled when sending "+d,10),b.g("Extension access is disabled")):c&&null!=c.sendMessage?(d=Lm(b,d),a.origin=nf().location.origin+"/",c.sendMessage(Km(),a,d)):(em(dm.Pa(),null,"talk.media.webrtc.Extension: Extension is missing when sending "+d,10),b.g("Extension is not installed"));return b},Nm=function(a){var b=Jm();if(b&&null!=b.connect){em(dm.Pa(),
null,"talk.media.webrtc.Extension: Opening port named "+a);a=b.connect(Km(),{name:a});var c=t(a.disconnect,a);xd(nf(),"unload",c);a.onDisconnect.addListener(function(){Gd(window,"unload",c)});return a}return null},Lm=function(a,b){return function(c){var d="No response from extension";if(null!=c)if(d=c.error,null!=d)d="Extension reported "+d.name+": "+d.message;else{em(dm.Pa(),null,"talk.media.webrtc.Extension: Received response to "+b+": "+Jc(c.value));a.ma(c.value);return}(c=Jm())&&null!=c.lastError&&
(d=d+" Chrome reported: "+c.lastError.message);em(dm.Pa(),null,"talk.media.webrtc.Extension: Received error to "+b+": "+d,10);a.g(d)}},Om=function(){return Mm({method:"cpu.getInfo"})},Pm=function(a){if(Ik(34)){var b=Nm("chooseDesktopMedia");if(null==b)return qj("Could not open port to extension");b.postMessage({method:"chooseDesktopMedia",sources:a?["screen"]:["screen","window"]});a=t(b.disconnect,b);a=new D(a);b.onMessage.addListener(Lm(a,"chooseDesktopMedia"));return a}return Mm({method:"chooseDesktopMedia"})},
Qm=!1,Rm=function(a){return Qm?qj("Extension logging is disabled"):Mm(a)},Sm=function(a){return Rm({method:"logging.setMetadata",metaData:a})},Tm=function(){return Rm({method:"logging.uploadOnRenderClose"})},Um=function(){return Rm({method:"logging.discard"})},Vm=function(){return Rm({method:"logging.stop"})},Wm=function(a,b){return Rm({method:"logging.stopRtpDump",incoming:a,outgoing:b})};
var Xm=function(a,b,c,d){T.call(this);this.u=a;this.H=b;null!=d&&0!=d.length?this.F=d:this.F=["hangoutseffectsplugin.nexe"];this.G=c;this.i=this.g=null;this.l=0};v(Xm,T);Xm.prototype.update=function(){null==this.i&&(this.l=1,hj(Mm({method:"getNaclArchitecture"}),this.N,this.M,this))};Xm.prototype.getState=function(){return this.l};
Xm.prototype.N=function(a){if("x86-64"==a)this.g=["lib64"];else if("x86-32"==a)this.g=["lib32"];else if("arm"==a)this.g=["arm"];else{this.l=3;this.dispatchEvent(new Ym("Unsupported NaCl architecture: "+a,void 0));return}Zm(this)};Xm.prototype.M=function(){fc?this.g="Win64"==dc||-1!=xb.search("WOW64")?["lib64"]:["lib32"]:-1!=dc.search("i686")?this.g=["lib32"]:-1!=dc.search("armv7l")?this.g=["arm"]:this.g=["lib32","lib64","arm"];Zm(this)};var Zm=function(a){var b=Pl(a.H);b.V(a.K,a);ij(b,a.Qg,a)};
Xm.prototype.K=function(a){this.i=a;$m(this)};var $m=function(a){var b=an(a,"nacl/"),c=Kl(a.i),b=y(b,function(a){return Jl(c,a)},a);hj(Dk(b),t(a.Wg,a),t(a.ek,a))};g=Xm.prototype;g.Wg=function(){this.l=2;this.dispatchEvent(new R("w"));null!=this.G?Kl(this.i).getDirectory("nacl").V(t(this.ej,this)):this.dispatchEvent(new R("y"))};g.ej=function(a){Ml(a).V(t(this.ui,this))};
g.ui=function(a){var b=[];x(a,t(function(a){if(a.isDirectory()){var d=a.getName();d==this.u||z(this.G,d)||b.push(a.removeRecursively())}},this));(new Ck(b)).V(t(function(){this.dispatchEvent(new R("y"))},this))};g.ek=function(){var a=an(this,""),a=y(a,this.xl,this);Dk(a).V(t(this.Wg,this))};
g.xl=function(a){var b=new D,c="https://ssl.gstatic.com/chat/apps/fx/nacl/"+a,d=new XMLHttpRequest;d.responseType="blob";d.onload=t(function(){if(200!=d.status){var c="XHR for "+a+" failed: "+d.status;this.l=3;this.dispatchEvent(new Ym(c,void 0));b.g()}else bn(this,d.response,"nacl/"+a,b)},this);d.open("get",c);d.send();return b};
var bn=function(a,b,c,d){function e(a){this.Qg(a);d.g()}var f=Ll(Kl(a.i),c.substring(0,c.lastIndexOf("/")));f.V(function(){var a=Jl(Kl(this.i),c,2);a.V(function(a){a=a.createWriter();a.V(function(a){a.addEventListener("write",t(function(){d.ma()},this));a.addEventListener("error",e,this);a.write(b)},this);ij(a,e,this)},this);ij(a,e,this)},a);ij(f,e,a)};Xm.prototype.Qg=function(a){var b=a.message;this.l=3;this.dispatchEvent(new Ym(b,a))}; var an=function(a,b){var c=[],d=b+a.u;c.push(d+"/hangoutseffectsplugin.nmf");x(a.g,function(a){x(this.F,function(b){c.push(d+"/"+a+"/"+b)},this)},a);return c},Ym=function(a,b){R.call(this,"x");this.message=a;this.cause=b||null};v(Ym,R);
var cn;
cn={J:["a.C.","d.C."],l:["antes de Cristo","depois de Cristo"],F:"JFMAMJJASOND".split(""),O:"JFMAMJJASOND".split(""),u:"janeiro fevereiro mar\u00e7o abril maio junho julho agosto setembro outubro novembro dezembro".split(" "),N:"janeiro fevereiro mar\u00e7o abril maio junho julho agosto setembro outubro novembro dezembro".split(" "),T:"jan fev mar abr mai jun jul ago set out nov dez".split(" "),S:"jan fev mar abr mai jun jul ago set out nov dez".split(" "),Z:"domingo segunda-feira ter\u00e7a-feira quarta-feira quinta-feira sexta-feira s\u00e1bado".split(" "),U:"domingo segunda-feira ter\u00e7a-feira quarta-feira quinta-feira sexta-feira s\u00e1bado".split(" "),
M:"dom seg ter qua qui sex s\u00e1b".split(" "),Aa:"dom seg ter qua qui sex s\u00e1b".split(" "),G:"DSTQQSS".split(""),P:"DSTQQSS".split(""),K:["T1","T2","T3","T4"],H:["1\u00ba trimestre","2\u00ba trimestre","3\u00ba trimestre","4\u00ba trimestre"],g:["AM","PM"],i:["EEEE, d 'de' MMMM 'de' y","d 'de' MMMM 'de' y","d 'de' MMM 'de' y","dd/MM/yy"],W:["HH:mm:ss zzzz","HH:mm:ss z","HH:mm:ss","HH:mm"],m:["{1} {0}","{1} {0}","{1} {0}","{1} {0}"],gi:6,ba:[5,6],hi:5};
var fn=function(a,b,c){q(a)?(this.g=dn(a,b||0,c||1),en(this,c||1)):na(a)?(this.g=dn(a.getFullYear(),a.getMonth(),a.getDate()),en(this,a.getDate())):(this.g=new Date(u()),a=this.g.getDate(),this.g.setHours(0),this.g.setMinutes(0),this.g.setSeconds(0),this.g.setMilliseconds(0),en(this,a))},dn=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};g=fn.prototype;g.be=cn.gi;g.ce=cn.hi;g.clone=function(){var a=new fn(this.g);a.be=this.be;a.ce=this.ce;return a};
g.getFullYear=function(){return this.g.getFullYear()};g.getMonth=function(){return this.g.getMonth()};g.getDate=function(){return this.g.getDate()};g.getTime=function(){return this.g.getTime()};var gn=function(a){a=a.g.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+Ka(c,2)+":"+Ka(b,2)}return a};g=fn.prototype;g.set=function(a){this.g=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.add=function(a){if(a.u||a.l){var b=this.getMonth()+a.l+12*a.u,c=this.getFullYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var d;a:{switch(b){case 1:d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.g.setDate(1);this.g.setFullYear(c);this.g.setMonth(b);this.g.setDate(d)}a.g&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.g),this.g.setDate(1),this.g.setFullYear(a.getFullYear()),
this.g.setMonth(a.getMonth()),this.g.setDate(a.getDate()),en(this,a.getDate()))};g.he=function(a,b){return[this.getFullYear(),Ka(this.getMonth()+1,2),Ka(this.getDate(),2)].join(a?"-":"")+(b?gn(this):"")};g.Sa=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};g.toString=function(){return this.he()};var en=function(a,b){a.getDate()!=b&&a.g.setUTCHours(a.g.getUTCHours()+(a.getDate()<b?1:-1))};fn.prototype.valueOf=function(){return this.g.valueOf()};
var hn=function(a,b,c,d,e,f,h){this.g=q(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():u())};v(hn,fn);g=hn.prototype;g.add=function(a){fn.prototype.add.call(this,a);a.i&&this.g.setUTCHours(this.g.getUTCHours()+a.i);a.m&&this.g.setUTCMinutes(this.g.getUTCMinutes()+a.m);a.J&&this.g.setUTCSeconds(this.g.getUTCSeconds()+a.J)};
g.he=function(a,b){var c=fn.prototype.he.call(this,a);return a?c+" "+Ka(this.g.getHours(),2)+":"+Ka(this.g.getMinutes(),2)+":"+Ka(this.g.getSeconds(),2)+(b?gn(this):""):c+"T"+Ka(this.g.getHours(),2)+Ka(this.g.getMinutes(),2)+Ka(this.g.getSeconds(),2)+(b?gn(this):"")};g.Sa=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.he()};g.clone=function(){var a=new hn(this.g);a.be=this.be;a.ce=this.ce;return a};
var jn=function(a,b,c,d){T.call(this);this.i=a;this.H=b;this.F=new hn;this.g=null;this.G=c;this.u=d};v(jn,T);jn.prototype.l=function(){this.g.readyState==XMLHttpRequest.DONE&&(this.g.onreadystatechange=null,this.dispatchEvent(new kn(this.g.status,this.g.responseText)),this.g=null)};var kn=function(a,b){R.call(this,"z");this.status=a;this.g=b};v(kn,R);
var ln=new Se("d");var mn=function(){T.call(this);this.I=new jm("talk.media.webrtc.WebAudioEffects");this.G={};this.u={};this.K={};this.l={};this.F={};this.M={};null!=Bk||(null!=window.AudioContext?Bk=new AudioContext:Bk=new webkitAudioContext);this.i=Bk;this.H=this.i.createMediaStreamDestination();this.g=this.vb=null};v(mn,T);var nn=function(a,b){null!=b&&(null!=a.g&&(a.g.disconnect(),delete a.g),a.g=a.i.createMediaStreamSource(b),a.g.connect(a.H))};
mn.prototype.O=function(a){a=a.inputBuffer.getChannelData(0);if(null!=a&&0!=a.length){for(var b=0,c=0;c<a.length;c++)b=Math.max(Math.abs(a[c]),b);1<b&&(this.I.$("Computed max="+b+" is greater than 1.0"),b=1);this.dispatchEvent(new on(32768*b))}};
var qn=function(a,b,c){var d=!1,e=a.K[b];if(null!=e&&null==a.l[b]){var d=!0,f=pf("audio");f.src=window.URL.createObjectURL(e.stream);f.play();a.l[b]=f}var h=a.u[b];h.loop=c.loop;h.volume=c.g;c.reset&&0<h.currentTime&&(h.currentTime=0);h.paused?(d&&Ed(h,"playing",function(){this.dispatchEvent(new pn)},!1,a),Ed(h,["paused","ended"],t(a.P,a,b)),h.readyState>=HTMLMediaElement.HAVE_ENOUGH_DATA?h.play():Ed(h,"canplaythrough",function(){h.play()})):d&&a.dispatchEvent(new pn)},rn=function(a,b,c){var d=a.G[b];
null==d&&(d=pf("audio"),Ik(42)&&(d.crossOrigin="anonymous"),d.src=c,d.load(),a.G[b]=d);d.readyState>=HTMLMediaElement.HAVE_ENOUGH_DATA?a.N(b,!0):Ed(d,"canplaythrough",t(a.N,a,b,!1))};mn.prototype.N=function(a,b){this.dispatchEvent(new sn(a,b,!0))};mn.prototype.P=function(a){var b=this.l[a];null!=b&&(window.URL.revokeObjectURL(b.src),delete this.l[a]);this.dispatchEvent(new tn(a))};mn.prototype.X=function(){null!=this.i&&delete this.i;mn.ha.X.call(this)};
var sn=function(a,b,c){R.call(this,"B");this.key=a;this.g=b;this.success=c};v(sn,R);var pn=function(){R.call(this,"C")};v(pn,R);var tn=function(a){R.call(this,"D");this.g=a};v(tn,R);var on=function(a){R.call(this,"A");this.g=a};v(on,R);var un=function(a,b,c){this.loop=a;this.g=b;this.reset=c};
var vn=function(){T.call(this);this.g=new U(this);this.m(this.g);this.i=null;this.l=!1};v(vn,T);
var wn=function(a){if(a.l)return null!=a.i;a.l=!0;try{return a.i=new mn,a.g.listen(a.i,"B",t(a.ik,a)),a.g.listen(a.i,"C",t(a.Kj,a)),a.g.listen(a.i,"D",t(a.sl,a)),a.g.listen(a.i,"A",t(a.rl,a)),!0}catch(b){return!1}},xn=function(a){return wn(a)&&!Kb(a.i.l)},An=function(a,b){if(!wn(a))return a.dispatchEvent(new yn({warning:"WebAudio engine constructor failed."})),!1;var c=b.action;if("init"==c){if("play_audio"==b.id){var c=b.effect_handle,d=b.properties.resource,e=d.key,f=zn(d),d=a.i,h=c,m=e,e="tx"==
b.dir;rn(d,m,f);f=d.G[m];m in d.F||(d.F[m]=[]);d.F[m].push(h);d.u[h]=f.cloneNode(!0);f=d.i.createMediaElementSource(d.u[h]);d.M[h]=f;e?f.connect(d.H):(e=d.i.createMediaStreamDestination(),f.connect(e),d.K[h]=e);a.dispatchEvent(new yn({effect_handle:c,status:"initialized"}));return!0}}else if("enable"==c){if("play_audio"==b.id)return c=b.effect_handle,d=b.properties,qn(a.i,c,new un(Lb(d,"loop",!1),Lb(d,"volume",1),Lb(d,"reset",!1))),!0}else if("disable"==c){if("play_audio"==b.id)return c=b.effect_handle,
c=a.i.u[c],c.pause(),c.currentTime=0,!0}else if("manage_resource"==c){if((c=b.properties.load_resource)&&"audio"==c.type)return e=c.key,f=zn(c),rn(a.i,e,f),!0;c=b.properties.delete_resource;c=null!=c?c:null;if(null!=c&&null!=a.i.G[c]){d=a.i;delete d.G[c];h=d.F[c];if(null!=h){for(e=0;e<h.length;++e)f=h[e],delete d.u[f],delete d.M[f],delete d.K[f],delete d.l[f];delete d.F[c]}return!0}}return!1},zn=function(a){var b=a.data_uri;return null!=b?b:(a.secure?"https":"http")+"://"+a.host+a.path};g=vn.prototype;
g.ik=function(a){this.dispatchEvent(new yn({on_load_resource:{already_loaded:a.g,key:a.key,load_success:a.success}}))};g.Kj=function(){this.dispatchEvent("F")};g.sl=function(a){this.dispatchEvent(new yn({effect_handle:a.g,play_finished:{loop:!1}}))};g.rl=function(a){V(t(this.dispatchEvent,this,new Bn(a.g)))};g.X=function(){ad(this.i);vn.ha.X.call(this)};var yn=function(a){R.call(this,"G");this.g=a};v(yn,R);var Bn=function(a){R.call(this,"E");this.g=a};v(Bn,R);
var Cn=function(){this.i=this.F=null;this.H=this.G=this.M=0;this.K=1;this.g=this.J=this.l=this.m=this.u=this.N=0},Dn=function(a){a.u=0;a.m=0;a.l=0;a.J=0;a.g=0},En=function(a,b){null==a.F&&(a.F=b);if(null==a.i||b.getTime()>a.i.getTime())a.i=b},Fn=function(a){return null!=a.i&&null!=a.F?(a.i.getTime()-a.F.getTime())/1E3:-1};Cn.prototype.T=function(a){this.u+=a.tabCpuUsage;this.m+=a.browserCpuUsage;this.l+=a.gpuCpuUsage;this.J+=a.pluginCpuUsage;this.g++};
var Gn=function(a,b){var c=b&&b.numOfProcessors;if(c){var d=0,e=0,f=b.processors;if(f)for(var h=0;h<f.length;h++)var m=f[h].usage,d=d+(m.user+m.kernel),e=e+m.total;else d=a.H,e=a.G;f=e==a.G?a.M:100*c*(d-a.H)/(e-a.G);a.H=d;a.G=e;a.M=f;a.N=f;a.K=c}},Hn=function(a){return{jmiVersion:3,numOfProcessors:a.K,totalCpuUsage:a.N,tabCpuUsage:a.g?a.u/a.g:null,browserCpuUsage:a.g?a.m/a.g:null,gpuCpuUsage:a.g?a.l/a.g:null,pluginCpuUsage:a.g?a.J/a.g:null}};
var In=function(){this.g=new Kh(["jmidata","fakejid","fakesessionid","0",[[],[]],[[],[]],{v:2}]);this.F={};this.u={};this.i=this.m=null;this.G=this.l=this.J=0;this.clear()},Jn=new Date(0)-new Date("1900/01/01 00:00 GMT");In.prototype.clear=function(){this.g.G.length=0;this.g.F.length=0;this.g.u.length=0;this.g.J.length=0;this.g.l.length=0;this.g.m.length=0;this.g.i.length=0;this.g.g=new Ih({v:2});this.T={tab:0,browser:0,Ye:0,uf:0,Pd:0}};
var Y=function(a,b){return z(a.names(),b)?Number(a.stat(b)):null},Kn=function(a,b){return z(a.names(),b)?"true"!=a.stat(b)&&"false"!=a.stat(b)?null:"true"==a.stat(b):null},Nn=function(a,b,c,d){null==a.m&&(a.m=b.timestamp);if(null==a.i||b.timestamp.getTime()>a.i.getTime())a.i=b.timestamp;switch(b.type){case "ssrc":var e=b.names(),f=b.stat("ssrc"),h=Number(f),m=z(e,"audioInputLevel")||z(e,"audioOutputLevel");if(z(e,"bytesSent")){if(m)e=new Dh({}),a.g.G.push(e),e.u=Y(b,"audioInputLevel"),e.F=Y(b,"googJitterReceived"),
e.M=Y(b,"googEchoCancellationQualityMin"),e.T=Y(b,"googEchoCancellationEchoDelayMedian"),e.K=Y(b,"googEchoCancellationEchoDelayStdDev"),e.N=Y(b,"googEchoCancellationReturnLoss"),e.O=Y(b,"googEchoCancellationReturnLossEnhancement");else{e=new Fh({});a.g.J.push(e);e.u=Y(b,"googFirsReceived");e.F=Y(b,"googNacksReceived");e.width=c?0:Y(b,"googFrameWidthSent");e.height=c?0:Y(b,"googFrameHeightSent");e.S=Y(b,"googFrameRateInput");e.P=Y(b,"googFrameRateSent");e.M=Y(b,"googCaptureJitterMs");e.N=Y(b,"googCaptureQueueDelayMsPerS");
e.K=Y(b,"googAvgEncodeMs");e.O=Y(b,"googEncodeUsagePercent");d=e;c=0;var m=Kn(b,"googCpuLimitedResolution"),n=Kn(b,"googBandwidthLimitedResolution"),r=Kn(b,"googViewLimitedResolution");null!=m&&null!=n&&null!=r&&(m&&(c|=1),n&&(c|=2),r&&(c|=4));d.Bc=c;e.T=Y(b,"googAdaptationChanges");e.Aa=[f]}e.G=Y(b,"bytesSent");e.H=Y(b,"packetsSent");e.J=Y(b,"googRtt")}else m?(e=new Ch({}),a.g.F.push(e),e.u=Y(b,"audioOutputLevel"),e.F=Y(b,"googJitterReceived"),e.S=Y(b,"googExpandRate"),e.Aa=Y(b,"googPreferredJitterBufferMs"),
e.U=Y(b,"googCurrentDelayMs"),e.K=Y(b,"googDecodingCTSG"),e.T=Y(b,"googDecodingCTN"),e.N=Y(b,"googDecodingNormal"),e.O=Y(b,"googDecodingPLC"),e.M=Y(b,"googDecodingCNG"),e.P=Y(b,"googDecodingPLCCNG")):(e=new Eh({}),a.g.l.push(e),e.u=Y(b,"googFirsSent"),e.F=Y(b,"googNacksSent"),e.width=Y(b,"googFrameWidthReceived"),e.height=Y(b,"googFrameHeightReceived"),e.N=Y(b,"googFrameRateReceived"),e.T=Y(b,"googFrameRateDecoded"),e.O=Y(b,"googFrameRateOutput"),null!=d&&(c=Ln(d,h),null!=c&&(null!=c.fe&&(e.K=c.fe),
null!=c.ge&&(e.M=c.ge))),e.P=[f]),e.J=Y(b,"bytesReceived"),e.G=Y(b,"packetsReceived"),f=Y(b,"googCaptureStartNtpTimeMs"),null!=d&&null!=f&&0<f&&(d=d.getCurrentTime(h),null!=d&&(f=f-Jn+1E3*d,e.H=u()-f));e.l=Y(b,"packetsLost");e.i=b.stat("googCodecName");e.g=h;f=a.F[h];a.F[h]=b;null!=f&&(a=Mn(f,b,"packetsReceived"),h=Mn(f,b,"packetsSent"),b=Mn(f,b,"packetsLost"),a=null!=a?a+b:h,null!=b&&null!=a&&0<a&&(e.m=100*b/a));break;case "VideoBwe":e=new Gh({});a.g.i.push(e);e.i=Y(b,"googAvailableSendBandwidth");
e.g=Y(b,"googAvailableReceiveBandwidth");e.J=Y(b,"googTransmitBitrate");e.l=Y(b,"googRetransmitBitrate");e.m=Y(b,"googBucketDelay");break;case "googCandidatePair":a:{f=b.stat("googChannelId");if(wa(f,"Channel-video-"))e=new Hh({},"video"),a.g.m.push(e),h="video_rtp";else if(wa(f,"Channel-audio-"))e=new Hh({},"audio"),a.g.u.push(e),h="rtp";else break a;e.g=0;"true"==b.stat("googActiveConnection")&&(e.g|=1);"true"==b.stat("googWritable")&&(e.g|=2);"true"==b.stat("googReadable")&&(e.g|=4);e.u=Y(b,"bytesSent")||
-1;e.m=Y(b,"bytesReceived")||-1;e.J=Y(b,"googRtt")||-1;e.T=Y(b,"packetsSent")||-1;e.H=Y(b,"packetsDiscardedOnSend")||-1;z(b.names(),"googLocalAddress")&&(e.i=new Nh([h,b.stat("googLocalCandidateType"),b.stat("googTransportType"),b.stat("googLocalAddress")]));z(b.names(),"googRemoteAddress")&&(e.l=new Nh([h,b.stat("googRemoteCandidateType"),b.stat("googTransportType"),b.stat("googRemoteAddress")]));h=a.u[f];a.u[f]=b;null!=h&&(f=Y(h,"bytesSent"),a=Y(h,"bytesReceived"),b=b.timestamp.getTime()-h.timestamp.getTime(),
0>=b||(null!=e.u&&null!=f&&(h=e.u-f,0<=h&&(e.G=1E3*h/b)),null!=e.m&&null!=a&&(a=e.m-a,0<=a&&(e.F=1E3*a/b))))}}};In.prototype.H=function(a){var b=this.T;b.tab+=a.tabCpuUsage;b.browser+=a.browserCpuUsage;b.Ye+=a.gpuCpuUsage;b.uf+=a.pluginCpuUsage;b.Pd++;this.g.g.cpu=b.tab/b.Pd;this.g.g.m=b.browser/b.Pd;this.g.g.l=b.Ye/b.Pd;this.g.g.u=b.uf/b.Pd};var Mn=function(a,b,c){b=Y(b,c);a=Y(a,c);return null!=b&&null!=a?b-a:null};
var On=function(a){H(this,a,0,-1,null)};v(On,E);On.prototype.L=function(){return P(this)};On.prototype.Ha=function(){return I(this,2)};var Qn=function(a){H(this,a,0,-1,Pn)};v(Qn,E);var Pn=[5,52];Qn.prototype.L=function(){return P(this)};Qn.prototype.ee=function(){return L(this,Rn,52)};var Tn=function(a){H(this,a,0,-1,Sn)};v(Tn,E);var Sn=[2,13];Tn.prototype.L=function(){return P(this)};var Vn=function(a){return L(a,Un,2)};Tn.prototype.Qd=function(a){J(this,36,a)};var Un=function(a){H(this,a,0,-1,Wn)};v(Un,E);var Wn=[53,54];g=Un.prototype;g.L=function(){return P(this)};g.wc=function(a){J(this,6,a)};
g.setWidth=function(a){J(this,57,a)};g.getHeight=function(){return I(this,58)};g.setHeight=function(a){J(this,58,a)};var Xn={un:0,pn:1,mi:2,rn:3},Yn={li:0,tn:1,qn:2},Zn={Ce:0,Be:1,Ae:2,De:4,Dl:8,Gl:16,Fl:32,Hl:64,El:128,Il:1073741824},$n=function(a){H(this,a,0,-1,null)};v($n,E);$n.prototype.L=function(){return P(this)};$n.prototype.wc=function(a){J(this,3,a)};var Rn=function(a){H(this,a,0,-1,ao)};v(Rn,E);var ao=[3,4];Rn.prototype.L=function(){return P(this)};
var bo=new Date(0)-new Date("1900/01/01 00:00 GMT"),co=function(a,b,c){b&&(Gb(a,"googFrameWidthSent")&&(a.googFrameWidthSent=0),Gb(a,"googFrameHeightSent")&&(a.googFrameHeightSent=0));b=Number(a.ssrc);if(null!=b){var d=a.googCaptureStartNtpTimeMs;if(null!=d&&0<d){var e=c.getCurrentTime(b);null!=e&&(d=d-bo+1E3*e,a.oneWayDelayMs=u()-d)}null!=a.bytesReceived&&(c=Ln(c,b),null!=c&&(null!=c.fe&&(a.fpsGraphicsInput=c.fe),null!=c.ge&&(a.fpsGraphicsOutput=c.ge)));c=Zn.Ce;b=a.googCpuLimitedResolution;d=a.googBandwidthLimitedResolution; e=a.googViewLimitedResolution;if(null!=b||null!=d||null!=e)"true"==b&&(c|=Zn.Be),"true"==d&&(c|=Zn.Ae),"true"==e&&(c|=Zn.De),a.googAdaptationReason=c}};
var eo=function(){U.call(this);this.l=new S;this.i=new S;this.g=new S;Lf(this,document,"visibilitychange",this.u,!1,this);this.I=new jm("talk.media.webrtc.OutputTracker")};v(eo,U);var fo=new Se("e"),go=function(a){this.i=l(a.webkitDroppedFrameCount)?a.webkitDroppedFrameCount:0;this.g=l(a.webkitDecodedFrameCount)?a.webkitDecodedFrameCount:0;this.timestamp=u()/1E3;this.hidden=document.hidden},ho=function(a){this.sf=a};ho.prototype.getCurrentTime=function(){return this.sf.getCurrentTime()};
var io=function(a){var b=Wi(a,fo);null==b&&(b=new eo,Xi(a,fo,b));return b},jo=function(a,b,c){ue(a.g.i,b)||a.g.set(b,[]);a.g.get(b).push(new ho(c))},ko=function(a,b,c){var d=a.g.get(b);null!=d?kb(d,function(a){return a.sf==c},a)?eb(d)&&a.g.remove(b):a.I.$("recordBeforeAudioStop: No matching element found for ssrc "+b):a.I.$("recordBeforeAudioStop: No info found for ssrc "+b)},Ln=function(a,b){var c=a.l.get(b);null!=c&&x(c,function(a){lo(this,b,a)},a);var d=a.i.get(b);if(null==d)return null;a.i.remove(b);
c=mo(d);d=no(d);return null!=c||null!=d?{fe:c,ge:d}:null},lo=function(a,b,c){var d=c.g;c.g=new go(c.sf);c={start:d,end:c.g,hidden:d.hidden};c.end.g<c.start.g?a.I.$("Non-monotonic frame count: "+c.end.g):(ue(a.i.i,b)||a.i.set(b,[]),a.i.get(b).push(c))};eo.prototype.u=function(){this.l.forEach(function(a,b){x(a,function(a){lo(this,b,a)},this)},this)};
var mo=function(a){var b=0,c=0;x(a,function(a){b+=a.end.g-a.start.g;c+=a.end.timestamp-a.start.timestamp});return 0==c?null:b/c},no=function(a){var b=[];x(a,function(a){a.hidden||(b.push({t:a.start.timestamp,c:1}),b.push({t:a.end.timestamp,c:-1}))});sb(b);var c=0,d=0,e=-Infinity;x(b,function(a){var b=a.t;0<d&&(c+=b-e);d+=a.c;e=b});var f=0;x(a,function(a){f+=a.end.g-a.start.g-(a.end.i-a.start.i)});return 0==c?null:f/c};
eo.prototype.getCurrentTime=function(a){a=this.l.get(a)||this.g.get(a);if(null==a)return null;var b=0,c=!1;x(a,function(a){a=a.getCurrentTime();null!=a&&(b=Math.max(a,b),c=!0)});return c?b:null};eo.prototype.X=function(){this.l.clear();this.g.clear();eo.ha.X.call(this)};
var oo=function(a,b,c){this.mediaType=a;this.g=b;this.i=c},po={};po.a=new oo("audio","audio",Infinity);po.v=new oo("video","video",zc&&Ik(38)?62:30);po.d=new oo("application","data",Infinity);
var qo=["v=0","o=- 0 2 IN IP4 127.0.0.1","s=-","t=0 0","a=msid-semantic:WMS"],ro=function(a){return null!=a.groupid?encodeURIComponent(a.groupid)+"/"+encodeURIComponent(a.streamid):encodeURIComponent(a.nick)+"/"+encodeURIComponent(a.name)},so=function(a){a=Fb(a,"d","streams");if(null==a)return!1;for(var b=0;b<a.length;b++)if(0<Lb(a[b],"ssrcs",[]).length)return!0;return!1},Sd=function(a){switch(a[1].toUpperCase()){case "CN":case "TELEPHONE-EVENT":case "RED":return!1;default:return!0}},to=function(a){return zc&&
Ik(50)&&null!=a?$a(a,function(a){return 5==a.id}):!1},uo=function(a,b){for(var c=[],d=b.codecs,d=lb(Ya(d,Sd),Ya(d,Td())),e=po[a],f="m="+e.mediaType+" 1 RTP/SAVPF",h=0;h<d.length;h++)var m=d[h],n=m[0],f=f+(" "+n);c.push(f);c.push("a=sendrecv");c.push("a=mid:"+e.g);b.rtcp_mux&&c.push("a=rtcp-mux");h=b.crypto;null!=h.tag||(h=h[0]);null!=h&&c.push("a=crypto:"+h.tag+" "+h.cs+" "+h.kp);e=b["rtp-hdrext"];f=to(e);for(h=0;h<d.length;h++){var m=d[h],n=m[0],r=m[1],w;"a"==a?w=m[4]:w=9E4;r="a=rtpmap:"+n+" "+r+
"/"+w;"a"==a&&(r+="/"+m[2]);c.push(r);m=m[5];if(null!=m)for(var A in m)c.push("a=fmtp:"+n+" "+A+"="+m[A]);"v"==a&&((m=b.startbw)&&c.push("a=fmtp:"+n+" x-google-start-bitrate="+m),(m=b.minbw)&&c.push("a=fmtp:"+n+" x-google-min-bitrate="+m),c.push("a=rtcp-fb:"+n+" ccm fir"),c.push("a=rtcp-fb:"+n+" nack"),c.push("a=rtcp-fb:"+n+" goog-remb"),f&&c.push("a=rtcp-fb:"+n+" transport-cc"))}if(null!=e)for(h=0;h<e.length;++h)w=e[h],c.push("a=extmap:"+w.id+" "+w.uri);return c},wo=function(a,b,c){return null!=
b?vo([{ssrcs:[a]}],["localCname"],[b.label],[b.label],[],Infinity,c):[]},vo=function(a,b,c,d,e,f,h){for(var m=0,n=[],r=0;r<a.length;r++){var w=a[r],A=w.ssrcGroups;if(null!=A)for(var F=0;F<A.length;F++){var O=A[F];n.push("a=ssrc-group:"+O.semantics+" "+O.ssrcs.join(" "))}w=w.ssrcs;if(0!=w.length)if(m>=f)null!=h&&h.m("h","rvtel","Number of remote video tracks exceeds the limit of "+f);else{++m;for(var A=b[r],O=c[r],ja=d[r],Pa=e[r],F=0;F<w.length;F++){var Sa="a=ssrc:"+w[F];n.push(Sa+" cname:"+A);n.push(Sa+
" msid:"+O+" "+ja);null!=Pa&&n.push(Sa+" label:"+Pa)}}}return n},xo=function(a,b){if(null!=a)for(var c=Lb(a,"streams",[]),d=0;d<c.length;d++){var e=c[d];b[ro(e)]=e}},yo=function(a,b){if(null==a)return b;var c=Ob(a),d;for(d in b)null!=c[d]||(c[d]={}),Rb(c[d],b[d]);for(d in c){var e={};xo(a[d],e);xo(b[d],e);c[d].streams=Db(e)}return c},zo=function(a){return{host:"local",srflx:"stun"}[a.candidate.trim().split(" ")[7]]},Ao=function(a){var b=[],c;a:{for(c in a){var d=a[c].transport;if(null!=d&&"urn:xmpp:jingle:transports:ice-udp:1"== d.type){if("lite"==d.mode){c="a=ice-lite";break a}break}}c=null}c&&b.push(c);c=[];for(var e in a)d=po[e],a[e].bundle&&d&&c.push(d.g);(a=0==c.length?null:lb("a=group:BUNDLE",c).join(" "))&&b.push(a);return b};
var Bo=function(a){H(this,a,0,-1,null)};v(Bo,E);Bo.prototype.L=function(){return P(this)};var Co=function(a){H(this,a,0,-1,null)};v(Co,E);Co.prototype.L=function(){return P(this)};Co.prototype.sa=function(){return I(this,1)};var Do=function(a){H(this,a,0,-1,null)};v(Do,E);Do.prototype.L=function(){return P(this)};Do.prototype.Qd=function(a){J(this,6,a)};var Fo=function(a){H(this,a,0,-1,Eo)};v(Fo,E);var Eo=[11];g=Fo.prototype;g.L=function(){return P(this)};g.oa=function(){return I(this,2)};g.ea=function(a){J(this,2,a)};g.Y=function(){return I(this,3)};g.Ea=function(a){J(this,3,a)};var Go=function(a,b,c){T.call(this);this.G=a;this.u=b;this.i=l(c)?c:"f"};v(Go,T);Go.prototype.Y=function(){return this.G};Go.prototype.getState=function(){return this.i};Go.prototype.Ra=function(a){a!=this.i&&(this.i=a,this.dispatchEvent("H"))};var Ho={tm:"h",gn:"i",fn:"j",vm:"k",Rm:"l",hn:"m",im:"n"},Io=function(a,b,c){R.call(this,"I");this.l=a;this.g=b;this.m=c};v(Io,R);var Jo=function(){};var Ko=function(a,b,c){this.i=a;this.g=b;this.m=c};Ko.prototype.toString=function(){return 0>=this.i&&0>=this.g&&0>=this.m?"Unlimited":"Bandwidth limited between "+this.i+" and "+this.g+" starting from "+this.m};var Lo=function(a,b,c,d,e,f,h,m,n,r,w,A){this.pe=a;this.fc=b;this.Mc=c;this.Cf=d;this.oc=e;this.Hc=f;this.Qc=h;this.hd=m;this.Dc=n;this.od=r;this.uc=l(w)?w:null;this.vc=l(A)?A:null};Lo.prototype.fa=function(){return this.pe};Lo.prototype.sa=function(){return this.Cf};
var Mo=function(a,b){this.g=a;this.i=b};Mo.prototype.toString=function(){return this.g+":"+this.i};var No=function(a,b,c,d,e,f,h){this.u=a;this.g=b;this.F=c;this.l=l(d)?d:null;this.m=l(e)?e:null;this.i=l(f)?f:null;this.J=h||[]},Oo=function(a){return{name:a.getName(),media:a.fa(),payload:a.g,bitrate:a.l,clockrate:a.m,channels:a.i,params:y(a.getParams(),function(a){return a.toString()})}};No.prototype.fa=function(){return this.u};No.prototype.getName=function(){return this.F};No.prototype.getParams=function(){return B(this.J)}; var Po=function(a,b){var c=Nb(a);c.J=b;return c},Qo=function(a,b,c){var d=a.getParams();c=new Mo(b,c);var e=bb(d,function(a){return a.g==b});-1==e?d.push(c):d[e]=c;return Po(a,d)};
var So=function(a){T.call(this);this.g=a;this.u=Ro(this.g);this.l=0;this.i=!1};v(So,T);var To=function(a){R.call(this,"J");this.id=a};v(To,R);var Uo=function(a,b,c,d){this.m=a;this.g=b;this.l=c;this.i=d};var Vo=function(){this.u=l(void 0)?void 0:!0;this.M=l(void 0)?void 0:!0;this.F=l(void 0)?void 0:!0;this.T=this.N=!1;this.i=null;this.J=[];this.l=this.m=!1;this.H=null;this.G=l(void 0)?void 0:!0;this.g=!1;this.K=!0;this.O=new Jo},Wo=function(a){return{useAudio:a.u,useVideo:a.M,useData:a.F,useLocalCandidates:a.N,useBundle:!0,useVideoRtx:!1,dumpRtpHeaders:a.T,allowEarlyMedia:!0,earlyMediaHangoutId:a.i,defaultRequests:a.J,useStandardIce:!0,debugLogUploadAllowed:a.m,debugLogUploadForced:a.l,clientResource:a.H,
useSimulcast:a.G,useP2P:a.g,startMuted:a.K,useDtls:!1}},Xo=function(a,b){var c=Nb(a);c.T=b;return c},Yo=function(a,b){if(a.m&&a.l)return a;var c=Nb(a);c.m=b;return c},Zo=function(a){a=Nb(a);a.l=!0;return a},$o=function(a,b){var c=Nb(a);c.i=b;return c},ap=function(a,b){var c=Nb(a);c.J=b;return c},bp=function(a,b){var c=Nb(a);c.H=b;return c};
var cp=function(){T.call(this);this.l=this.na=null};v(cp,T);var dp=function(a){return{audioOptions:{autoGainControl:!0,echoCancellation:!0,highPassFilter:!0,inbandFec:!1,dtx:!1,noiseSuppression:!0,preferredSendCodec:null,sendComfortNoise:!0,sendStereo:!1,stereoSwapping:!1,transientSuppression:!0},hangoutId:a.l,isInProgress:"k"==a.getState(),remoteJid:a.na,sessionId:a.aa(),state:a.getState(),systemInfo:a.Ff().Da}};cp.prototype.qc=da;cp.prototype.update=function(){return!0};
cp.prototype.ea=function(a){this.l=a};var ep=function(a){var b=a.na,c=a.l;a=a.aa();return b?b:c?c+"_hangout@groupchat.google.com":a?a+"_session@groupchat.google.com":"unknown@groupchat.google.com"},fp=function(a,b){R.call(this,"L");this.g=a;this.m=b};v(fp,R);var gp=function(a){R.call(this,"N");this.g=a};v(gp,R);var hp=function(a){R.call(this,"M");this.message=a};v(hp,R);var ip=function(a){R.call(this,"P");this.g=a};v(ip,R);var jp=function(a,b){R.call(this,"O");this.m=a;this.g=b};v(jp,R); var kp=function(a,b){R.call(this,"K");this.tb=a;this.payload=b};v(kp,R);var lp=function(a){R.call(this,"R");this.g=a};v(lp,R);
var mp=function(a,b,c){this.g=a;this.i=b;this.m=c||void 0};mp.prototype.getId=function(){return this.i};mp.prototype.fa=function(){return this.m};var np=function(a,b,c,d,e){this.J=a;this.i=b;this.g=c;this.m=d||[];this.l=e||"full"};np.prototype.nb=function(){return this.J};var op=function(a,b){var c=Nb(a);c.i=b;return c},pp=function(a,b){var c=Nb(a);c.g=b;return c};var qp=function(a,b,c,d,e,f,h,m){this.F=a;this.l=b;this.u=c;this.i=d;this.g=e;this.G=f||[];this.J=h||"";this.m=m||[]},tp=function(a){return{type:a.sa(),mediaId:rp(a),codecs:y(sp(a),function(a){return Oo(a)}),defaultRequests:y(B(a.m),function(a){return a.toString()})}};qp.prototype.sa=function(){return this.F};
var sp=function(a){return B(a.l)},up=function(a,b){var c=Nb(a);c.l=b;return c},vp=function(a){return B(a.u)},wp=function(a,b){var c=Nb(a);c.u=b;return c},xp=function(a,b){var c=Nb(a);c.i=b;return c},yp=function(a,b){var c=Nb(a);c.g=b;return c},zp=function(a){return B(a.G)},Ap=function(a,b){var c=Nb(a);c.G=b;return c},rp=function(a){if(a.J)return a.J;switch(a.F){case "o":return"audio";case "q":return"video";case "p":return"data";default:return""}},Bp=function(a,b){var c=Nb(a);c.m=b;return c},Dp=function(a){return Cp(a, function(a){return 0==Aa(a.getName(),"isac")})},Cp=function(a,b){var c=bb(a.l,b);if(-1==c)return a;var d=sp(a),e=d[c];ib(d,c);gb(d,0,0,e);return up(a,d)};
var Ep=function(a,b,c,d){this.i=a;this.m=b;this.g=c;this.l=d};Ep.prototype.toString=function(){return"("+this.l+": id = "+this.i+", SSRC = "+this.g+", format = "+this.m+")"};Ep.prototype.getChannelId=function(){return this.i};var Fp=function(){T.call(this)};v(Fp,T);var Gp=function(a){return{id:a.aa(),isInProgress:"k"==a.getState(),state:a.getState()}};Fp.prototype.Ca=da;var Hp=function(a,b){R.call(this,"U");this.Cc=B(a);this.removed=B(b)};v(Hp,R);var Ip=function(a){R.call(this,"V");this.g=B(a)};v(Ip,R);
var Jp=function(a,b){Go.call(this,a.Y(),a.i,b);this.l=a};v(Jp,Go);Jp.prototype.getInfo=function(){return this.l};var Kp=function(a,b,c,d,e,f,h){this.g=a||null;this.i=b||null;this.m=c||null;this.F=l(d)?d:null;this.J=!!e;this.l=f||null;this.u=h||null},Lp=function(a){return{sessionId:a.aa(),audio:a.g&&tp(a.g),video:a.i&&tp(a.i),data:a.m&&tp(a.m),pushChannel:a.l&&a.l.toString(),bandwidthConstraints:a.u&&a.u.toString()}},Mp=function(a,b){var c=Nb(a);c.g=b;return c},Np=function(a,b){var c=Nb(a);c.i=b;return c},Op=function(a,b){var c=Nb(a);c.m=b;return c};Kp.prototype.aa=function(){return this.F};
var Pp=function(a,b){this.g=a;this.i=B(b)};Pp.prototype.Va=function(){return B(this.i)};var Qp=function(a,b,c,d,e,f){this.u=a;this.l=b;this.i=c;this.g=d;this.J=B(e);this.m=B(f)};Qp.prototype.toString=function(){return"{participantId: "+this.l+", mediaType: "+this.u+", sourceId: "+this.i+", streamId: "+this.g+", ssrcs: "+this.J+"}"};Qp.prototype.fa=function(){return this.u};Qp.prototype.Y=function(){return this.l};var Rp=function(a,b){var c=Nb(a);c.l=b;return c};Qp.prototype.Ac=function(a){var b=Nb(this);b.i=a;return b};var Sp=function(a,b){var c=Nb(a);c.g=b;return c}; Qp.prototype.Va=function(){return B(this.J)};var Tp=function(a,b){return a.Y()==b.Y()&&a.fa()==b.fa()&&a.i==b.i&&a.g==b.g},Up=function(a,b){return a.Y()==b.Y()&&a.fa()==b.sa()&&a.i==b.getId()};
var Vp=function(){T.call(this);this.la="h";this.Ca=void 0};v(Vp,T);var Xp=function(a){return{state:a.getState(),endCause:a.Ca,id:a.aa(),isInProgress:"k"==a.getState(),localId:Wp(a),localDescription:Lp(a.g.Ld()),localSession:dp(a.g),options:Wo(a.l),remoteAudioCodecs:y(B(a.na),function(a){return Oo(a)}),remoteSession:Gp(a.i),useEarlyMedia:null!=a.l.i&&0<a.l.J.length}};Vp.prototype.getState=function(){return this.la};
var Yp=function(a,b,c,d){a.la!=b&&(a.la=b,a.Ca=c,a.dispatchEvent(new Io(b,c,d)))},Zp=function(){R.call(this,"aa")};v(Zp,R);var $p=function(a){R.call(this,"ca");this.sessionId=a};v($p,R);var aq=function(a){R.call(this,"X");this.id=a};v(aq,R);var bq=function(a){R.call(this,"Y");this.g=a};v(bq,R);var cq=function(a,b){R.call(this,"fa");this.Wf=a;this.sessionId=b||null};v(cq,R);var dq=function(){R.call(this,"da")};v(dq,R);var eq=function(a,b){R.call(this,"$");this.g=a;this.sessionId=b};v(eq,R); var fq=function(a){R.call(this,"Z");this.sessionId=a};v(fq,R);
var hq=function(a,b,c,d,e,f,h,m){T.call(this);this.Ne=m;this.H=b;this.u=Wi(a,ln);this.g=new U(this);this.m(this.g);this.ba=null;this.pa={};this.N=this.O=null;this.Ba=new gq(this);this.S={};this.Ca={};this.F=new vn;this.g.listen(this.F,"G",this.gj);this.g.listen(this.F,"F",this.Mg);4==this.H&&this.g.listen(this.F,"E",this.hj);this.ya=4==b;this.Xc=c;this.i=d;this.ad=z(this.i.H,"jdv3");this.Yc=e;this.qa=f;this.M=h;c="talk.media.webrtc.FluteSession";4==b&&(c+=" (test session)",h=null);this.I=new jm(c,
h);this.da=new In;this.Z=new Cn;this.G=null;this.Uc=!1;this.U=1;this.Db={local:!1,remote:!1};this.wa=this.Cb=this.l=this.ub=!1;this.W=null;this.ec=this.gb=this.Qa=-1;this.ua=5;this.va=5184E3;this.Hb=[];this.Kb=!1;this.Ie={jc:this.Fj,jlrtp:this.Gj,jrtp:this.Hj,jv:this.Jj,jt:this.Ij,mute:this.Tc,vmute:this.Cd,"share-pick":this.vk,"share-remove":this.wk,setshareoptions:this.rk,mediaeffects:this.qf,mediaeffectsnaclplugin:this.Qj,"data-send":this.Dd,setcalloptions:this.Ge,jtone:this.dk,scalevolume:this.jk,
debug:this.mj,losecallfocus:this.mk,setcallfocus:this.nk,jtr:Pd,ja:Pd,micon:Pd,micoff:Pd,streamon:Pd,streamoff:Pd};this.Tb=this.Ga=!1;this.Ub={};this.na={};this.He=t(this.tf,this);this.Vc={};this.K=new D;this.Wc=[];this.Ka=[];this.za=!1;this.fb=u();this.P=0;this.la=io(a);this.Jb={};this.ob=!1;this.Na=this.Ma=this.La=null};v(hq,T);var iq=zc&&!Ik(40)?200:100;g=hq.prototype;g.Ib=null;g.$b=null;g.ke=null;g.Jc=!1;g.Vb=!1;g.dd=!1;g.hf=null;g.ta=null;g.yc=null;g.wd=null;g.bg=null;g.Rd=!1;g.nc=null;
g.connect=function(){this.Ga=!0;jq(this)};g.send=function(a,b){this.I.ga("Recving "+Jc(kq(this,a,b)));var c=this.Ie[a];return null!=c?(c.apply(this,b),!0):!1};
g.Ij=function(){this.Kg();if(null!=this.wd){this.wd.stop();this.Rd=!1;this.fb=0;var a=Math.round((u()-this.bg)/1E3);lq(this,"jmiend",[a,!0,0])}null!=this.nc&&(this.nc.disconnect(),this.nc=null);this.Ga=!1;this.ke=this.$b=this.Ib=null;null!=this.W&&bj(this.W);null!=this.G&&mq(this);null!=this.ta&&(nq(this),"closed"!=this.ta.signalingState&&this.ta.close());this.yc=null;null!=this.O&&(this.O=null);null!=this.N&&(window.URL.revokeObjectURL(this.N),this.N=null);for(var b in this.pa)this.pa[b].V(window.URL.revokeObjectURL);
a=this.F;wn(a)&&(a=a.i,null!=a.vb&&(a.vb.disconnect(),delete a.vb,a.vb=null),null!=a.g&&(a.g.disconnect(),delete a.g,a.g=null));this.U=0};var kq=function(a,b,c){return lb([b,a.qa,a.M],c)},oq=function(a,b,c){if(wa(b,"jmidata")){b=u();if(null!=a.P&&1E4>b-a.P)return;null!=a.P?(a.P+=1E4,a.P<b-1E4&&(a.P=b)):a.P=b}a.I.ga("Sending "+JSON.stringify(c))},lq=function(a,b,c){oq(a,b,kq(a,b,c));pq(a.i,kq(a,b,c))},qq=function(a,b){a.Jb[b]||(a.Jb[b]=!0,lq(a,"latency-events",[[{key:b,time:u().toString()}]]))};
hq.prototype.zd=function(a){var b=a.candidate;null!=b&&(this.I.ra("Got local candidate: "+b.candidate),this.K.V(function(a){var d=a.Sc,d=d||"",e=b.candidate.trim().split(" "),f=Number(e[1]),h=e[2],m=e[3],n=e[4],r=e[5],w=e[7],A="0";10<=e.length&&"generation"==e[8]&&(A=e[9]);e={host:"local",srflx:"stun"};if(this.Tb)a={media:b.sdpMid,component:f,protocol:h,ip:n,port:Number(r),priority:Number(m),type:e[w],generation:A};else{var F=d;2==f&&(F=d.slice(0,-1)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(d[d.length-
1])+1)%64]);a=[n,r,{audio:"",video:"video_",data:"data_"}[b.sdpMid]+["","rtp","rtcp"][f],F,a.Nc||"",String((m>>24)/127),h,A,e[w],"unknown0"]}lq(this,"jc",[[a]])},this),qq(this,"send candidate "+zo(b)))};hq.prototype.Zc=function(a){var b=a.sdp;a=(a=b.match(/a=ice-ufrag:(\S*)/))&&a[1];b=(b=b.match(/a=ice-pwd:(\S*)/))&&b[1];null!=a&&null!=b?(lq(this,"jtr",[{a:{type:"ice",ufrag:a,pwd:b}}]),this.K.ma({Sc:a,Nc:b}),rj()):km(this.I,"Browser's offer has no ICE credentials.")};
hq.prototype.kf=function(a){this.Zc(a);jq(this)};
var rq=function(a){Ab(a.S,function(a){var c=a.F;Ek(a,0);Ek(a,c)})},tq=function(a,b,c){a.I.info("New stream set for FluteSession: videoTracks = "+(null!=c?c.getVideoTracks().length.toString():"none")+", audioTracks = "+(null!=b?b.g.getAudioTracks().length.toString():"none"));if(b==a.ke)b=!1;else{a.$b=null;a.ke=b;if(null!=b&&(a.$b=sq(a.ke),a.Tc(a.Jc,"unchanged"),a.ya)){b=a.F;var d=a.$b;wn(b)&&nn(b.i,d);4==a.H&&(b=a.F,wn(b)&&(b=b.i,null!=b.g&&(null!=b.vb&&(b.vb.disconnect(),delete b.vb),b.vb=b.i.createScriptProcessor(4096,
1,1),b.vb.onaudioprocess=t(b.O,b),b.g.connect(b.vb),b.vb.connect(b.i.destination))))}rq(a);b=!0}c==a.Ib?c=!1:(null!=a.Ib&&(a.Ib=null),null!=a.O&&(window.URL.revokeObjectURL(a.O),a.O=null),null!=c&&(a.Ib=c,a.O=window.URL.createObjectURL(a.Ib)),c=!0);(b||c)&&jq(a)},vq=function(a,b){for(var c=a.Vb&&!a.l,d=b.result(),e=0;e<d.length;++e)Nn(a.da,d[e],c,a.la);jj(Om(),function(a){var b=this.da,c=a&&a.numOfProcessors;if(c){var d=0,e=0;if(a=a.processors)for(var w=0;w<a.length;w++)var A=a[w].usage,d=d+(A.user+
A.kernel),e=e+A.total;else d=b.J,e=b.l;a=e==b.l?b.G:100*c*(d-b.J)/(e-b.l);b.J=d;b.l=e;b.G=a;b.g.g.g=a;b.g.g.i=c}b=this.da;c=null!=b.i&&null!=b.m?(b.i.getTime()-b.m.getTime())/1E3:0;b.g.T=String(Math.round(c));b=b.g;d=[];for(c=0;c<b.F.length;c++)e=b.F[c],d.push({t:"r",s:e.g,c:e.i,b:e.J,p:e.G,fl:e.m,pl:e.l,sn:e.W,j:e.F,en:e.u,er:e.S,pjb:e.Aa,d:e.U,owd:e.H,dts:e.K,dtn:e.T,dn:e.N,dp:e.O,dc:e.M,dpc:e.P});for(c=0;c<b.G.length;c++)e=b.G[c],d.push({t:"s",s:e.g,c:e.i,b:e.G,p:e.H,ts:e.timestamp,fl:e.m,pl:e.l,
sn:e.P,j:e.F,rtt:e.J,en:e.u,ecqmin:e.M,edm:e.T,eds:e.K,erl:e.N,erle:e.O});e=[];for(c=0;c<b.l.length;c++)a=b.l[c],e.push({t:"r",s:a.g,ss:a.P,c:a.i,b:a.J,lb:a.Aa,p:a.G,fl:a.m,pl:a.l,px:a.S,fir:a.u,nack:a.F,dnack:a.U,w:a.width,h:a.height,rfps:a.N,dfps:a.T,fps:a.O,gifps:a.K,gofps:a.M,owd:a.H});for(c=0;c<b.J.length;c++)a=b.J[c],e.push({t:"s",s:a.g,ss:a.Aa,c:a.i,b:a.G,p:a.H,fl:a.m,pl:a.l,pc:a.U,fir:a.u,nack:a.F,dnack:a.Z,drtx:a.W,rtt:a.J,w:a.width,h:a.height,fps:a.S,sfps:a.P,ar:a.Bc,ac:a.T,sc:a.ba,cj:a.M,
cd:a.N,et:a.K,eu:a.O});for(c=0;c<b.i.length;c++)a=b.i[c],e.push({t:"b",asbw:a.i,arbw:a.g,txbr:a.J,rtxbr:a.l,lbd:a.m});d=[d,e];e=[];for(c=0;c<b.u.length;c++)e.push(Ph(b.u[c]));a=[];for(c=0;c<b.m.length;c++)a.push(Ph(b.m[c]));e=[e,a];c=b.g;a={v:c.G,cpus:c.i,cpu:c.cpu,bcpu:c.m,gcpu:c.l,vfxcpu:c.u,tcpu:c.g,t:c.J,vr:c.F,bfps:-1};w=[];for(c=0;c<b.H.length;c++)A=b.H[c],w.push({nick:A.i,audioSsrcs:A.g,videoSsrcs:A.l,participant:A.m});b=["jmidata",b.jid,b.sessionId,b.T,d,e,a,w].slice(3);this.da.clear();b=
kq(this,"jmidata",b);oq(this,"jmidata",b);uq(this.i,b)},a)},wq=function(a,b){var c=y(b.result(),function(a){null!=a.timestamp&&0<a.timestamp.getTime()&&En(this.Z,a.timestamp);var b;a:{switch(a.type){case "ssrc":case "VideoBwe":case "googCandidatePair":b=!0;break a}b=!1}if(!b)return null;var c={};x(a.names(),function(b){var e=a.stat(b);null!=e&&(c[b]=isNaN(e)||""===e?e:Number(e))});"ssrc"==a.type&&co(c,this.Vb&&!this.l,this.la);b={};b[a.type]=c;return b},a);jj(Om(),function(a){Gn(this.Z,a);a=Fn(this.Z);
0>a||(c=lb([a,{global:Hn(this.Z)}],c),Dn(this.Z),a=kq(this,"jmidatav3",c),oq(this,"jmidatav3",a),uq(this.i,a))},a)},xq=function(a){var b=a;"string"==typeof a&&(b=Qa(a));a=[2E3,4E3,1E4,19E3,22E3,32769];for(var c=0;a[c]<=b;)++c;return c},yq=function(a,b){var c=u();-1==a.Qa||1E4<c-a.Qa?(a.Qa=c,lq(a,"jai",b)):pq(a.i,kq(a,"jai",b))},Aq=function(a){null!=a.ta&&(nq(a),"closed"!=a.ta.signalingState&&a.ta.close(),a.Rd=!1,a.U=0);a.K.i&&(a.K=new D);if(4!=a.H){for(var b=[],c=0;c<a.Xc.length;c++){var d=a.Xc[c];
b.push({url:"stun:"+d[0]+":"+d[1]})}b={iceServers:b};c={mandatory:{RtpDataChannels:!0,DtlsSrtpKeyAgreement:!1},optional:[]};z(a.i.H,"wed")&&c.optional.push({googDscp:!0});zc&&Ik(31)&&c.optional.push({googLog:a.M});if(Ik(37)||!ec&&!fc)c.optional.push({googCpuOveruseDetection:!0}),c.optional.push({googCpuOveruseEncodeUsage:!0}),c.optional.push({googCpuUnderuseThreshold:55}),c.optional.push({googCpuOveruseThreshold:85});c.optional.push({googSkipEncodingUnusedStreams:!0});c.optional.push({googScreencastMinBitrate:400});
z(a.i.H,"wavb")&&Ik(45)&&c.optional.push({googCombinedAudioVideoBwe:!0});c.optional.push({googHighBitrate:!0});c.optional.push({googVeryHighBitrate:!0});c.optional.push({googHighStartBitrate:!0});z(a.i.H,"wvpp")&&c.optional.push({googPayloadPadding:!0});zc&&Ik(38)&&c.optional.push({googNumUnsignalledRecvStreams:10});a.I.ra("Instantiating new PeerConnection");a.ta=new webkitRTCPeerConnection(b,c);a.g.listen(a.ta,"signalingstatechange",a.$c);a.U=1;a.ta.onicecandidate=t(a.zd,a);a.ta.oniceconnectionstatechange=
t(a.tl,a);a.ta.onaddstream=t(function(a){a=a.stream;var b=a.getAudioTracks();a.getVideoTracks();if(0<b.length){b=new Fk(this.Ne,a);this.g.listen(b,"playing",this.Mg);this.S[a.id]=b;a.id in this.Ca&&(Ek(b,this.Ca[a.id]),delete this.Ca[a.id]);var c;a:{c=a.id;var d=this.ba.a;if(null!=d)for(var d=Lb(d,"streams",[]),n=0;n<d.length;n++){var r=d[n];if(ro(r)==c){c=y(r.ssrcs,Number);break a}}c=[]}c=eb(c)?null:c[0];null!=c?(this.na[a.id]=c,jo(this.la,c,b)):this.I.$("Participant left before their audio was added")}else b=
Mb(this.pa,a.id),a=window.URL.createObjectURL(a),b.ma(a)},a);a.ta.onremovestream=t(function(a){a=a.stream;if(null!=a){if(0<a.getAudioTracks().length){var b=this.S[a.id];if(null!=b){var c=this.na[a.id];null!=c?(delete this.na[a.id],ko(this.la,c,b)):this.I.$("Stream removed with unknown ssrc");ad(b);delete this.S[a.id]}else km(this.I,"Audio stream was deleted before removal.")}0<a.getVideoTracks().length&&(b=this.pa[a.id],delete this.pa[a.id],null!=b?b.i?km(this.I,"Asked to remove stream that was never added."):
b.V(window.URL.revokeObjectURL):km(this.I,"Video stream was deleted before removal."))}else km(this.I,"Stream remove handler called with null stream.")},a);a.ta.ondatachannel=t(a.bf,a);a.yc=a.ta.createDataChannel("sendDataChannel",{reliable:!1});a.yc.onopen=t(function(){this.I.ra("send datachannel is open.")},a);a.yc.onclose=t(function(){this.I.ra("send datachannel is closed.")},a);a.yc.onerror=t(function(a){this.I.$("send datachannel error: "+a)},a);a.Ka=B(a.Wc);zq(a);null==a.nc&&z(a.i.H,"wepcu")&&
(a.nc=Nm("processCpu"),null!=a.nc&&(a.ad?a.nc.onMessage.addListener(t(a.Z.T,a.Z)):a.nc.onMessage.addListener(t(a.da.H,a.da))));null==a.wd&&(a.bg=u(),a.wd=new Mg(iq),a.g.listen(a.wd,"tick",a.Pe),a.wd.start())}};hq.prototype.Pe=function(){this.Rd||(this.Rd=!0,this.ta.getStats(this.He))};
hq.prototype.tf=function(a){this.Rd=!1;var b=0,c={},d=u(),e=!1;if(-1==this.gb||1E3<d-this.gb)e=!0;for(var f=a.result(),h=0;h<f.length;++h){var m=f[h];if("ssrc"==m.type){var n=m.stat("ssrc"),r=m.stat("audioOutputLevel");null!=n&&""!=n&&null!=r&&""!=r&&(c[n]=xq(r),this.Jb["recv first audio packet"]||(r=m.stat("packetsReceived"),0<Number(r)&&qq(this,"recv first audio packet")));r=m.stat("audioInputLevel");null!=r&&""!=r&&(b=xq(r));e&&(m=m.stat("googTypingNoiseState"),null!=m&&"true"==m&&(lq(this,"fw",
[{t:"a",s:n,c:108}]),this.gb=d))}}d=[];e=0;for(n in c)d.push([n,c[n]]),e=Math.max(e,c[n]);xn(this.F)&&(e=Math.max(e,3));yq(this,[b,[e,d],5]);b=u();if(!(1E3>b-this.ec)){this.ec=b;c=b=!1;n=a.result();for(d=0;d<n.length;++d)h=n[d],"ssrc"==h.type&&(e=h.names(),z(e,"packetsReceived")&&(f=Number(h.stat("ssrc")),h=Number(h.stat("packetsReceived")),0>=h-this.Vc[f]||(this.Vc[f]=h,z(e,"audioOutputLevel")?b=!0:z(e,"googFrameRateReceived")&&(c=!0))));lq(this,"jhb",[b,c])}b=this.za?1E3:1E4;u()-this.fb>=b&&(this.fb=
u(),this.ad?wq(this,a):vq(this,a))};var zq=function(a){a.I.info("Requesting initial ICE credentials from the browser.");a.ta.createOffer(t(a.Zc,a),Ua,{mandatory:{OfferToReceiveAudio:!0,OfferToReceiveVideo:!0}})};g=hq.prototype;
g.tl=function(){this.I.ga("ICE connection state changed to: "+this.ta.iceConnectionState);if("disconnected"==this.ta.iceConnectionState)qq(this,"transport not writable"),lq(this,"trstate",[{anyWritable:!1}]),this.K.i?(this.I.info("Initiating ICE restart."),this.K=new D,this.ta.createOffer(t(this.kf,this),Ua,{mandatory:{OfferToReceiveAudio:!0,OfferToReceiveVideo:!0,IceRestart:!0}})):this.I.$("Redundant disconnected state change");else if("connected"==this.ta.iceConnectionState||"completed"==this.ta.iceConnectionState)null!=
this.u&&this.u.i(2704,this.M),null!=this.La&&(Ng(this.La),this.La=null),null!=this.Ma&&(Ng(this.Ma),this.Ma=null),null!=this.Na&&(Ng(this.Na),this.Na=null),this.U=2,qq(this,"transport writable"),lq(this,"trstate",[{anyWritable:!0}])};g.Fj=function(a){a=t(this.Yi,this,a);this.K.V(a)};
g.Yi=function(a){for(var b=0;b<a.length;b++){var c;if(this.Tb)a:{var d=a[b];c=this.ba;var e=d.ip,f=d.port,h=d.priority,m=d.protocol,n=d.generation,r=d.type,w=d.media,d=""+d.component,A=-1,F=void 0,O=void 0;switch(w){case "audio":A=0;F=c.a.transport.ufrag;O=c.a.transport.pwd;break;case "video":A=1;F=c.v.transport.ufrag;O=c.v.transport.pwd;break;case "data":A=2;F=c.d.transport.ufrag;O=c.d.transport.pwd;break;default:c=null;break a}c=new RTCIceCandidate({sdpMid:w,sdpMLineIndex:A,candidate:"a=candidate:"+
["0",d,m,h,e,f,"typ",{local:"host",stun:"srflx"}[r],"generation",n,"username",F,"password",O].join(" ")})}else a:{F=a[b];c=F[0];e=F[1];f=F[3];h=F[4];m=Number(F[5]);n=F[6];r=F[7];O=F[8];w=void 0;A=d=-1;switch(F[2]){case "rtp":w="audio";A=0;d=1;break;case "rtcp":w="audio";A=0;d=2;break;case "video_rtp":w="video";d=A=1;break;case "video_rtcp":w="video";A=1;d=2;break;case "data_rtp":w="data";A=2;d=1;break;case "data_rtcp":w="data";d=A=2;break;default:c=null;break a}F={local:"host",stun:"srflx"}[O];O=
0;"host"==F?O=126:"srflx"==F?O=100:"relay"==F&&(O=0);c=new RTCIceCandidate({sdpMid:w,sdpMLineIndex:A,candidate:"a=candidate:"+["0",d,n,Math.pow(2,24)*O+Math.pow(2,8)*m+(256-d),c,e,"typ",F,"generation",r,"username",f,"password",h].join(" ")})}null!=c&&(qq(this,"recv candidate "+zo(c)),null!=this.ta.remoteDescription?this.ta.addIceCandidate(c):this.Ka.push(c),this.Wc.push(c))}};
g.Gj=function(a){qq(this,"recv local description");this.hf=a;var b=Bq(this);this.K.V(t(this.Tf,this,"offer",a,b,this.l?this.G:this.Ib))};
g.Hj=function(a){qq(this,"recv remote description");this.ba=a=yo(this.ba,a);var b=!this.ub;b&&(Cq(this,"answer",a,!1),1==this.U&&(null!=this.u&&this.u.i(2703,this.M),this.La=V(function(){1==this.U&&null!=this.u&&this.u.i(2705,this.M)},2E4,this),this.Ma=V(function(){1==this.U&&null!=this.u&&this.u.i(2706,this.M)},3E4,this),this.Na=V(function(){1==this.U&&(null!=this.u&&this.u.i(2707,this.M),km(this.I,"Transport writable timeout failed, aborting."),lq(this,"fe",["1"]))},55E3,this)));b&&!so(a)||jq(this)};
g.Jj=function(a){qq(this,"recv view request");this.ob=!0;a=a.v;if(ia(a)&&0!=a.length){var b=a[0];a=b.width;var c=b.height,b=b.framerate;if(null!=a&&null!=c&&null!=b)if(0==a||0==c||0==b)this.I.$("Received jv with zero video parameters.");else{if(!this.Vb||!this.dd){var d=this.i;d.va=new Dq(a,c,b);Eq(d)}}else this.I.$("Received jv with missing video parameters.")}else this.I.$("Received jv with no video settings.")};
g.Zh=function(a,b){b==this.ta&&(this.Db[a]=!1,"remote"==a&&(x(this.Ka,function(a){this.ta.addIceCandidate(a)},this),this.Ka.length=0))};
g.Yh=function(a,b,c,d){km(this.I,a+" SDP setting failed with error: "+d);this.I.info("The failed SDP blob was:\n"+c);"closed"==b.signalingState?this.I.$("Ignoring SDP error from closed PeerConnection:"+d):this.Db[a]?(km(this.I,"Two session description failures, aborting."),lq(this,"fe",["4",d]),this.I.ra("Requesting log upload on flute error."),Fq(this.i,this.Kb,this.qa,this.M)):(null!=this.u&&this.u.g(1327),this.Db[a]=!0,this.I.$("Resetting PeerConnection due to set*Description failure fallback"),
Aq(this),jq(this))};
g.Tf=function(a,b,c,d,e){if("closed"==this.ta.signalingState)this.I.$("Ignoring Local Descriptions for closed PeerConnection");else{var f;a:{for(f in b){var h=b[f].transport;if(!(h&&h.ufrag&&h.pwd)){f=!1;break a}}f=!0}this.Tb=f;f=e.Sc;e=e.Nc;var h=this.yc,m=this.u,n=Ao(b),r=!1,w;for(w in b){var A=b[w];if(null!=po[w]&&null!=A.codecs){var r=!0,F=uo(w,A);mb(n,F);F=[];if("d"==w){var O=Fb(A,"streams",0,"ssrcs",0);null!=O&&(F=wo(O,h,m))}else if(O=null,O="a"==w?c:d,null!=O){var ja=w,F=O,O=m,A=A.streams;
if(null==A)F=[];else{var Pa=void 0;"a"==ja?Pa=F.getAudioTracks():"v"==ja&&(Pa=F.getVideoTracks());if(0==Pa.length)F=[];else{for(var ja=[],Sa=[],tb=[],xc=0;xc<A.length;xc++)ja.push("localCname"),Sa.push(F.id),tb.push(Pa[0].id);F=vo(A,ja,Sa,tb,[],Infinity,O)}}}mb(n,F);n.push("a=ice-ufrag:"+f);n.push("a=ice-pwd:"+e)}}r?(n.push(""),b=lb(qo,n).join("\n")):b=null;this.Uc=!0;try{this.ta.setLocalDescription(new RTCSessionDescription({type:a,sdp:b}),t(this.Zh,this,"local",this.ta),t(this.Yh,this,"local",this.ta,
b))}catch(Oc){throw km(this.I,"setLocalDescription exception: "+Oc.message),this.I.info("The offending SDP blob was:\n"+b),Oc;}}};var Cq=function(a,b,c,d){b=t(a.mf,a,b,c,l(d)?d:!0);a.K.V(b)};
hq.prototype.mf=function(a,b,c){var d=this.yc,e=this.u,f=Ao(b),h=!1,m;for(m in b){var n=b[m];if(null!=po[m]&&null!=n.codecs){var h=!0,r=uo(m,n);mb(f,r);(l(c)?c:1)&&f.push("a=x-google-flag:conference");var r=po[m].i,w=e,A=n.streams;if(null==A)r=[];else{for(var F=[],O=[],ja=[],Pa=[],Sa=0;Sa<A.length;Sa++){var tb=A[Sa],xc=ro(tb);F.push(xc);O.push(xc);Pa.push(xc);ja.push(tb.participantName)}r=vo(A,F,O,Pa,ja,r,w)}mb(f,r);"d"==m&&mb(f,wo(0,d,e));r=(n=n.transport)&&n.pwd||"123456789012345678901234";f.push("a=ice-ufrag:"+
(n&&n.ufrag||"1234567890123456"));f.push("a=ice-pwd:"+r)}}h?(f.push(""),b=lb(qo,f).join("\n")):b=null;this.ub=!0;try{this.ta.setRemoteDescription(new RTCSessionDescription({type:a,sdp:b}),t(this.Zh,this,"remote",this.ta),t(this.Yh,this,"remote",this.ta,b))}catch(Oc){throw km(this.I,"setRemoteDescription exception: "+Oc.message),this.I.info("The offending SDP blob was:\n"+b),Oc;}};
hq.prototype.Tc=function(a,b){null!=this.$b&&(this.$b.getAudioTracks()[0].enabled=!a);this.Jc=a;var c=this.F,d=this.Jc;wn(c)&&(c.i.H.stream.getAudioTracks()[0].enabled=!d);3!=this.H&&0!=this.i.de()||Gq(this,b,"unchanged");a||null!=this.$b||Eq(this.i)};var Hq=function(a){a.Jc=!0;Eq(a.i);Gq(a,"removal","unchanged")};
hq.prototype.Cd=function(a,b){if(this.Vb!=a&&(this.dd=!1,this.Vb=a,!this.l)){var c=!a;null!=this.Ib&&(this.Ib.getVideoTracks()[0].enabled=c);a?null!=this.Ib?(this.dd=!0,V(this.Kg,1E3,this)):Eq(this.i):Eq(this.i)}3!=this.H&&0!=this.i.de()||Gq(this,"unchanged",b)};
var Iq=function(a){a.Vb=!0;Eq(a.i);Gq(a,"unchanged","removal")},Gq=function(a,b,c){a.I.ga("Dispatching MediaStateEvent: session "+a.M+" mic muted="+a.Jc+" reason="+b+" camera muted="+a.Vb+" reason="+c);V(t(a.dispatchEvent,a,new ai(a.Jc,b,a.Vb,c)))};g=hq.prototype;g.Kg=function(){this.dd&&(this.dd=!1,Eq(this.i))};g.rk=function(a,b){this.I.info("onSetScreenShareOptions");null!=b.fps&&(this.ua=b.fps);null!=b.maxPixels&&(this.va=b.maxPixels)};
g.vk=function(a,b){this.l?this.I.ga("Already screensharing."):this.wa?this.I.ga("Already waiting for screenshare permission."):null!=this.G?(this.I.ga("Already have desktop stream."),Jq(this)):(this.I.ra("Requesting desktop stream."),this.wa=!0,Qk()&&zc&&!Ik(36)?this.Pg(null):(this.W=Pm(b&&b.onlyShowDesktops||!1),this.W.V(this.Pg,this),ij(this.W,this.nj,this),jj(this.W,function(){this.W=null},this)))};
g.Pg=function(a){var b=2880,c=1800;if(0<this.va)b*c>this.va&&(b=Math.round(Math.sqrt(this.va*b/c)),c=Math.floor(this.va/b));else var d=5<this.ua,b=d?2048:b,c=d?1280:c;b={mandatory:{maxWidth:b,maxHeight:c},optional:[{maxFrameRate:this.ua},{minFrameRate:this.ua}]};b.optional.push({googTemporalLayeredScreencast:!0});if(null!=a&&null!=a.streamId){a=a.streamId;if(""==a){this.I.ra("User canceled extension desktop-casting.");this.wa=!1;lq(this,"share-result",[null,1]);return}this.I.ga("Desktop-casting using the extension.");
b.mandatory.chromeMediaSource="desktop";b.mandatory.chromeMediaSourceId=a}else this.I.ga("Screencasting without extension support."),b.mandatory.chromeMediaSource="screen";Wb().webkitGetUserMedia({audio:!1,video:b},t(this.Bd,this),t(this.Fe,this,2))};g.nj=function(a){this.I.$("chooseDesktopMedia error: "+a)};g.wk=function(){this.l&&(Kq(this,!1),Lq(this.Ba,this.O))};
g.dk=function(){var a=new jh("https://ssl.gstatic.com/chat/sounds/outgoing_ring_08d6076c4e21ce2f30d739a53ef1c609.ogg");this.qf({id:"play_audio",action:"init",dir:"rx",effect_handle:"r",properties:{resource:{key:"r",host:a.i,path:a.l,type:"audio",secure:"https"==a.g}}});this.qf({id:"play_audio",action:"enable",dir:"rx",effect_handle:"r",properties:{loop:!1,mute_with_mic:!1,volume:1,reset:!0}})};
g.jk=function(a,b,c){a!=b&&this.I.$("Stereo volume scaling is not supported");a=Math.max(a,b);if(null!=this.ba){a:{b=this.ba;for(var d in b||{})for(var e=Lb(b[d],"streams",[]),f=0;f<e.length;f++){var h=e[f];if(z(h.ssrcs,Number(c))){c=ro(h);break a}}c=null}null!=c?(d=this.S[c],null!=d?Ek(d,a):(this.I.ga("Early scalevolume received for "+c),this.Ca[c]=a)):this.I.$("Unknown ssrc")}else this.I.$("Not scaling volume of ssrc="+c+" because we don't have a remote description yet.")};
g.gj=function(a){lq(this,"effect-notify",[a.g])};g.Mg=function(){this.i.ob()};g.qf=function(a){if(An(this.F,a)){if(!this.ya){this.ya=!0;a=this.F;var b=this.$b;wn(a)&&nn(a.i,b);jq(this)}}else{var b=this.Yc,c;a:{if(!b.S){if(!Mq(b)){b.I.$("Got mediaeffects message but the effects plugin is not installed.");b.Gb=!0;b.Nb=!1;b.dispatchEvent("load-complete");c=!1;break a}b.S=!0}c=!0}c&&(b.Nb||b.Gb||(b.Nb=!0,Nq(b)),a.message_type="effect",a.video_ssrc=4294967295,Oq(b,a))}};
g.Qj=function(a){var b=this.Yc;b.Nb?Oq(b,a):b.I.$("Got mediaeffectsnaclplugin message but the effects plugin is notenabled.  Turn on an effect to enable the nacl plugin.")};g.hj=function(a){var b=0;xn(this.F)&&(b=3);yq(this,[xq(a.g),[b,[]],5])};g.mj=function(a,b){if("mgl"!=a)this.I.ga("Ignored unsupported debug command "+a);else{var c=this.i;c.ya.V(t(c.Zi,c,b))}};g.mk=function(){var a=this.ta.getLocalStreams();x(a,function(a){this.ta.removeStream(a)},this);this.Cb=!0};
g.nk=function(){var a=this.l?this.G:this.Ib,b=Bq(this);null!=b&&this.ta.addStream(b);null!=a&&this.ta.addStream(a);this.Cb=!1};
var jq=function(a){if(4==a.H)Lq(a.Ba,a.l?a.N:a.O);else if(a.ta){var b=a.Ga?a.l?a.G:a.Ib:null,c=a.Ga?Bq(a):null;a.I.info("Renegotiating on local stream change: v = "+b+", a = "+c);if(!a.Cb){for(var d=a.ta.getLocalStreams(),e=0;e<d.length;++e){var f=d[e];f!=c&&f!=b&&a.ta.removeStream(f)}null!=c&&a.ta.addStream(c);null!=b&&a.ta.addStream(b)}Lq(a.Ba,a.l?a.N:a.O);a.ub?(d=a.ta,Cq(a,"offer",a.ba,!(5<a.ua)),d==a.ta&&a.K.V(t(a.Tf,a,"answer",a.hf,c,b))):a.Uc&&a.K.V(t(a.Tf,a,"offer",a.hf,c,b))}};
hq.prototype.Bd=function(a){this.wa=!1;this.G=a;Jq(this);this.N=window.URL.createObjectURL(a);Lq(this.Ba,this.N)};hq.prototype.Fe=function(a,b){null!=b&&this.I.$("Start screenshare failed: "+b.name);this.wa=!1;lq(this,"share-result",[null,a])};
var Kq=function(a,b){if(b)a.I.ra("Adding desktop-stream-ended listener."),Ed(a.G,"ended",t(a.Ad,a));else{a.I.ra("Removing desktop-stream-ended listener.");var c=a.G;if(c)if(md(c))c.Ob&&c.Ob.removeAll("ended");else if(c=Ad(c)){var d=0,e="ended".toString(),f;for(f in c.g)if(!e||f==e)for(var h=c.g[f].concat(),m=0;m<h.length;++m)Hd(h[m])&&++d}}b||(mq(a),a.G=null,window.URL.revokeObjectURL(a.N),a.N=null);a.l=b;a.I.ra("Setting screensharing state to "+a.l);Eq(a.i);jq(a)},Jq=function(a){Kq(a,!0);lq(a,"share-result",
[null,0])},mq=function(a){null!=a.G&&x(a.G.getVideoTracks(),function(a){a.stop()})};hq.prototype.Ad=function(){this.I.ra("The desktop stream was stopped by the browser.");lq(this,"share-notify",[null,{event:"window-stop-sharing"}])};var Bq=function(a){a.ya?(a=a.F,a=wn(a)?a.i.H.stream:null):a=a.$b;return a};
hq.prototype.X=function(){for(var a in this.S){var b=this.na[a],c=this.S[a];null!=b?(delete this.na[a],ko(this.la,b,c)):this.I.$("Unusual join-leave-addstream-dispose sequence");ad(c)}this.S={};ad(this.F);ad(this.la);hq.ha.X.call(this)};var gq=function(a){this.i=null;this.g=a},Lq=function(a,b){b!=a.i&&(a.i=b,a.g.dispatchEvent(new Pq(a.g.qa,a.g.M,b)))};
hq.prototype.bf=function(a){a=a.channel;this.Hb.push(a);a.onopen=t(function(a){this.I.ra("receive datachannel "+a.label+" is open.")},this,a);a.onclose=t(function(a){this.I.ga("receive datachannel "+a.label+" is closed.");jb(this.Hb,a)},this,a);a.onerror=t(function(a,c){this.I.$("receive datachannel "+a.label+" threw error: "+c);jb(this.Hb,a)},this,a);a.onmessage=t(this.cf,this,a)};hq.prototype.Dd=function(a,b){this.yc.send(b)};
hq.prototype.cf=function(a,b){var c,d=a.label.split("/");c=decodeURIComponent(d[0]);pq(this.i,kq(this,"data-receive",[{nick:c,groupid:c,streamid:decodeURIComponent(d[1])},b.data]))};hq.prototype.Ge=function(a){this.Ub=a;Eq(this.i)};var nq=function(a){a.g.T(a.ta,"signalingstatechange",a.$c)};hq.prototype.$c=function(a){a.target==this.ta&&"closed"==this.ta.signalingState&&this.dispatchEvent("ha")};var Pq=function(a,b,c){R.call(this,"ga");this.na=a;this.sessionId=b;this.url=c};v(Pq,R);
var Qq=function(a,b,c,d,e,f,h){this.l=a;this.J=b;this.i=c;this.u=d;this.F=e;f==ul&&(f=null);h==ul&&(h=null);this.m=f||null;this.g=h||null},Rq=function(a){if(a.J)return!1;var b=[],c=Nb(a.u),d=c.audio_auto_gain_control;null!=d&&!d&&(c.ia=!1);d=c.audio_echo_cancellation;null!=d&&!d&&(c.wadc=!1);Ab(c,function(a,c){b.push(Sb(Lk.get(c),a))});c=c.audio_noise_suppression;null!=c&&!c&&b.push({googTypingNoiseDetection:!1});null!=a.m&&b.push({sourceId:a.m.id});return{optional:b}},Sq=function(a){if(a.i)return!1;
var b={optional:[{minFrameRate:a.l.g},{minHeight:a.l.height},{minWidth:a.l.width},{maxFrameRate:a.l.g},{maxWidth:a.l.width},{maxHeight:a.l.height}]};Ab(a.F,function(a,d){b.optional.push(Sb(Mk.get(d),a))});null!=a.g&&b.optional.push({sourceId:a.g.id});return b},Tq=function(a,b){return Cb(a)==Cb(b)&&Bb(a,function(a,d){return b[d]==a})},Wq=function(a,b){return Uq(a,b)&&Vq(a,b)},Uq=function(a,b){return null!=b?a.J&&b.J||Tq(a.u,b.u)&&a.J==b.J&&Xq(a.m,b.m):!1},Vq=function(a,b){return null!=b?a.i&&b.i||
a.l.Sa(b.l)&&Tq(a.F,b.F)&&a.i==b.i&&Xq(a.g,b.g):!1},Yq=function(a,b){var c=a.l,d=c.width/c.height,e=Math.min(c.width,b.width),f=Math.min(c.height,b.height),c=Math.min(c.g,b.g),e=Math.min(e,Math.round(f*d)),f=Math.min(f,Math.round(e/d));return new Qq(new Dq(e,f,c),a.J,a.i,a.u,a.F,a.m,a.g)},Zq=function(a,b,c){return vl(b,a.m)&&vl(c,a.g)?a:new Qq(a.l,a.J,a.i,a.u,a.F,null!=b?b:a.m,null!=c?c:a.g)},$q=function(a,b){return Zq(a,null!=a.m?a.m:b.m,null!=a.g?a.g:b.g)}; Qq.prototype.toString=function(){return Jc({audio:Rq(this),video:Sq(this)})};var Xq=function(a,b){return a==b?!0:null!=a&&null!=b&&a.id==b.id};
var ar=function(a){this.g=a;this.i=[]},sq=function(a){var b=lb(a.g.getVideoTracks(),a.g.getAudioTracks()),b=y(b,function(a){return null!=a.clone?a.clone():a},a),b=new webkitMediaStream(b);a.i.push(b);return b};ar.prototype.stop=function(){br(this.g);x(this.i,function(a){br(a)},this)};var br=function(a){cr(a.getVideoTracks());cr(a.getAudioTracks())},cr=function(a){x(a,function(a){a.stop()})};
var Dq=function(a,b,c){this.width=a;this.height=b;this.g=c};Dq.prototype.Sa=function(a){return null!=a&&this.width==a.width&&this.height==a.height&&this.g==a.g};var er=function(){this.kc=new dr;this.Rc=new dr;this.Wb=new dr;this.g=this.i=null},gr=function(a){var b={mics:fr(a.kc),speakers:fr(a.Rc),cameras:fr(a.Wb)};if(null!=a.i){var c=a.i;b.videoShape={width:c.width,height:c.height,frameRate:c.g}}null!=a.g&&(b.cpuInfo=a.g,delete b.cpuInfo.processors);return b},dr=function(){this.g=null;this.i={}},hr=function(a){a=a||{};var b=new dr,c=a.selectedDevice;if(null!=c){var c=c||{},d=c.id||null,e=c.label||null;b.g=d==ul.id&&e==ul.label?ul:new tl(d,e,c.fullName||null)}else c=
a.selectedId,"__absent_device__"==c?b.g=ul:null!=c&&(b.g=new tl(c,null));b.i=a.fallbackNamesById_||{};return b},fr=function(a){var b={fallbackNamesById_:a.i};null!=a.g&&(a=a.g,b.selectedDevice={id:a.id,label:a.label,fullName:a.g});return b},ym=function(a,b,c){return y(b,function(a){if(null!=a.g&&""!=a.g)return a.g;if(null!=a.label&&""!=a.label)return a.label;var b=this.i[a.id];if(null!=b)return b;var f=1;do b=c+" "+f++;while(Hb(this.i,b));return this.i[a.id]=b},a)};
var ir=function(){T.call(this);this.g=u();this.i=new Mg(1E3);xd(this.i,"tick",t(this.l,this));this.i.start()};v(ir,T);ea(ir);ir.prototype.l=function(){var a=u();6E4<a-this.g&&this.dispatchEvent("ia");this.g=a};var jr=function(){var a;return fc?(a=/Windows NT ([0-9.]+)/,(a=a.exec(xb))?a[1]:"0"):ec?(a=/10[_.][0-9_.]+/,(a=a.exec(xb))?a[0].replace(/_/g,"."):"10"):hc?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(xb))?a[1]:""):ic||jc?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(xb))?a[1].replace(/_/g,"."):""):""}();
var kr=function(a,b,c,d){T.call(this);this.O=b;this.g=new U(this);this.m(this.g);this.I=new jm("talk.media.webrtc.VideoEffects");this.Ca=d;this.i=null;this.Gb=!1;this.K=[];this.Nb=this.S=this.N=this.U=!1;this.P=this.F=this.l=this.G=this.u=null;if(b=a=K(a,ti,7)&&K(K(a,ti,7),zi,6))b=null==I(a,1)?"c995490806d28cf9ab21269a991e8d52":I(a,1);this.H=b||null;if(b=a)b=null==I(a,5)?"unknown":I(a,5);this.W=b||null;if(b=a)b=null==I(a,2)?67108864:I(a,2);this.pa=b||0;this.qa=a&&I(a,3)||null;this.ua=a&&I(a,4)||null;
this.M=this.mc=null;this.Dg=!1;this.da=c};v(kr,T);kr.prototype.Ha=function(){return this.F};kr.prototype.close=function(){null!=this.F&&(this.l==this.F&&(this.Nb=!1,this.K=[]),this.l=this.F=null);null!=this.G&&(this.u!=this.G&&window.URL.revokeObjectURL(this.u),window.URL.revokeObjectURL(this.G),this.u=this.G=null)};
var lr=function(a,b,c){a.close();a.l=b;a.P=c;a.u=window.URL.createObjectURL(a.l);a.F=a.l;a.G=a.u;0==b.getVideoTracks().length?(a.I.$("Raw stream set with no video tracks"),V(t(a.dispatchEvent,a,"stream"))):a.Nb?Nq(a):V(t(a.dispatchEvent,a,"stream"))},Nq=function(a){if(null!=a.u){a.N=!1;var b=new webkitMediaStream([]),c=window.URL.createObjectURL(b);a.la=b;a.na=c;Ed(b,"addtrack",t(a.ba,a,a.u,b,c));Oq(a,{message_type:"register",src_url:a.u,dest_url:c,ssrc:4294967295});a.I.info("Sent register message to the plugin: src = "+
a.u+"dest = "+c)}};kr.prototype.ba=function(a,b,c){if(a==this.u){this.I.info("Switching to the post-effect stream: "+c);this.F=b;this.G=c;this.N=!0;a=this.K;this.K=[];for(b=0;b<a.length;b++)Oq(this,a[b]);this.dispatchEvent("stream")}else this.I.info("Video effects source URL changed: old = "+a+", new = "+this.u)};
var Oq=function(a,b){a.U&&(a.N||"register"==b.message_type||"get_info"==b.message_type)?null!=a.i.postMessage?a.i.postMessage(Jc(b)):km(a.I,"Plugin has no postMessage method: failed="+a.Gb):a.K.push(b)},Mq=function(a){if(a.Gb||a.Dg||hc||fc&&!(0<=Oa(jr,6))||null==a.H)return!1;if(null!=a.i)return!0;var b=zc&&Ik(33);if(b){if(null==a.mc)return mr(a),!0;switch(a.mc.getState()){case 1:return!0;case 3:return!1}}var c;if(c=!b)c=null!=navigator.mimeTypes.namedItem("application/x-ppapi-hangouts-effects");c&&
a.I.info("Pepper plugin found.");a.i=a.O.createElement("OBJECT");a.i.width=0;a.i.height=0;a.i.style.position="fixed";c?(a.I.info("Using pepper plugin."),a.i.type="application/x-ppapi-hangouts-effects",a.Z()):(a.I.info("Using nacl plugin."),a.i.type="application/x-nacl",c=a.O.createElement("PARAM"),c.name="src",c.value=b?"filesystem:"+window.location.origin+"/temporary/nacl/"+a.mc.u+"/hangoutseffectsplugin.nmf":"https://ssl.gstatic.com/chat/apps/fx/nacl/"+a.H+"/hangoutseffectsplugin.nmf",a.i.appendChild(c),
a.g.listen(a.i,"load",t(a.Z,a)),b="unknown",null!=a.W&&(b=a.W),c="unknown",null!=a.H&&(c=a.H),a.M=new jn(b,a.Ca,a.da,c),a.g.listen(a.M,"z",t(a.va,a)));a.g.listen(a.i,"message",t(a.Ba,a));a.g.listen(a.i,"error",t(a.za,a));a.g.listen(a.i,"abort",t(a.wa,a));a.g.listen(a.i,"crash",t(a.ya,a));a.O.g.body.appendChild(a.i);return!0},nr=function(a){null!=a.i&&(a.S=!1,a.Nb=!1,a.Gb=!1,a.K=[],a.U=!1,null!=a.l&&null!=a.P&&a.l!=a.F&&lr(a,a.l,a.P),a.O.g.body.removeChild(a.i),a.i=null)},mr=function(a){a.mc=new Xm(a.H,
a.pa,a.ua,a.qa);Nf(a.g,a.mc,"w",function(){this.I.info("The NaCl plugin cache is updated.");Mq(this)||(this.I.$("Failed to ensure plugin."),this.Gb=!0,this.Nb=!1,this.dispatchEvent("load-complete"),or(this));this.mc=null});a.g.listen(a.mc,"x",function(a){this.I.$("Error when updating the NaCl plugin cache: "+a.message);null!=a.cause&&"SecurityError"==a.cause.name&&(this.Gb=this.Dg=!0,this.Nb=!1,this.dispatchEvent("load-complete"),or(this))});a.mc.update()};
kr.prototype.Z=function(){this.I.ra("Plugin done loading.");this.U=!0;this.Gb?(this.I.$("Plugin done loading, failed."),this.dispatchEvent("load-complete")):("application/x-ppapi-hangouts-effects"==this.i.type?this.dispatchEvent("load-complete"):Oq(this,{message_type:"get_info"}),this.Nb&&Nq(this))};
kr.prototype.Ba=function(a){this.I.ra("Video Effects Plugin Message: "+a.g.data);var b;if(!(b=null==this.M)){b=this.M;var c=a.g.data,d=String.fromCharCode.apply(null,new Uint8Array(c,0,4));if(wa(d,"MDMP")){if(b.G.get(mi).g("gid")&&null!=c){var d=new hn,e=new FormData;e.append("prod","Effects_Plugin");e.append("ver",b.i);e.append("binary_hash",b.u);e.append("ptime",(d-b.F).toString());e.append("email",b.H);e.append("upload_file_minidump",new Blob([c]));b.g=new XMLHttpRequest;b.g.open("POST","/hangouts/_/mlr/",
!0);b.g.onreadystatechange=t(b.l,b);b.g.send(e)}b=!0}else b=!1;b=!b}b&&(a=Hc(a.g.data),b=a.message_type,this.N||("error"==b&&"stream_dest_failed"==a.error_type?(this.I.$("Failed to set destination."),this.Gb=!0,this.Nb=!1,this.dispatchEvent("stream")):"register_success"==b&&(km(this.I,"Missing addtrack event"),this.ba("placeholder",this.la,this.na))),"effect-notify"==b&&null!=a.value?this.dispatchEvent(new pr(a.value)):"info"==b&&(this.I.info("onPluginMessage info"),this.dispatchEvent("load-complete")))};
var or=function(a){null!=a.l&&a.l==a.F&&(a.I.info("dispatching stream event on failure"),a.dispatchEvent("stream"))},qr=function(a,b){var c=Wi(a.da,ln);null!=c&&c.g(b)};kr.prototype.za=function(){nr(this);this.I.$("Plugin nacl error.");this.Gb=!0;qr(this,1480);or(this)};kr.prototype.wa=function(){nr(this);this.I.$("Plugin nacl abort.");this.Gb=!0;qr(this,1481);or(this)};kr.prototype.ya=function(){nr(this);this.I.$("Plugin nacl crash.");this.Gb=!0;qr(this,1479);or(this)};
kr.prototype.va=function(a){200==a.status?this.I.info("Effects Plugin Minidump uploaded successfully withresponse: "+a.g):this.I.$("Effects Plugin Minidump upload failed with status: "+a.status+", response: "+a.g)};var pr=function(a){R.call(this,"effect-notify");this.data=a};v(pr,R);
var rr=function(){this.g=[]};rr.prototype.push=function(a){this.g.push(a)};var sr=function(a){return null!=a?a:Infinity},ur=function(a){var b=new rr;x(a,function(a){b.push(new tr(a.name,a.usbid,sr(a.w),sr(a.h),sr(a.fps)))});return b};rr.prototype.search=function(a,b){for(var c=0;c<this.g.length;++c){var d=this.g[c];if(d.name.test(a)||d.i.test(b))return d.g}return new Dq(Infinity,Infinity,Infinity)}; var tr=function(a,b,c,d,e){this.name=vr(a);this.i=vr(b);this.g=new Dq(c,d,e)},vr=function(a){return null!=a?(a=String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace(/\\\*/g,".*"),new RegExp("^"+a+"$","i")):/1^/};
var xr=function(a,b,c){T.call(this);this.Ba=a;this.F=b;this.g=new U(this);this.m(this.g);this.I=new jm("talk.media.webrtc.UserMedia");this.l=null;this.i=c||null;this.u=null!=this.i;this.G=null!=this.i;this.U=this.W=this.S=!1;this.K=this.H=0;this.la=this.ba=this.za=this.O=null;this.na=!1;this.Z=null;this.da=!1;this.Ca=new rr;this.g.listen(this.F,"stream",t(this.La,this));this.pa=0;this.P=null;if(this.u||this.G)this.pa=u(),wr(this),t(this.ya,this,this.i),t(this.M,this,this.i,!0,!0);this.N=null};
v(xr,T);xr.prototype.reset=function(){yr(this);zr(this);this.i=null};
var yr=function(a){null!=a.l&&(a.I.ga("Stop the audio stream."),a.g.T(a.l.g,"ended",a.qa),a.l.stop(),a.l=null)},zr=function(a){var b=a.F.l;null!=b&&(a.I.ga("Stop the video stream."),a.g.T(b,"ended",a.va),Ar(a,b),a.F.close())},Br=function(a){var b;b=a.H;var c=a.K;b!=c&&(a=Math.min(b,c),b=Math.max(b,c),b=0==a||1==a?b:2==a&&3==b?a:0);return b},Cr=function(a,b,c){var d=Br(a);b!=a.H&&(a.I.ga("Changing audio permission state to "+b),a.H=b);c!=a.K&&(a.I.ga("Changing video permission state to "+c),a.K=c);
b=Br(a);b!=d&&(c=Wi(a.Ba,ln),null!=c&&(3==b?(2==d&&c.g(1518),c.g(1520)):4==b&&c.g(1519)),a.dispatchEvent("la"))},Er=function(a,b){var c;c=null!=Dr(b)?b.slice(0,-12):b;var d=Dr(b);return a.Ca.search(c,d)};
xr.prototype.Ga=function(a,b){this.I.ga("Audio-only request completed.");Fr(this);this.u=this.S=!1;Cr(this,3,this.K);a=Gr(this,a,b);null!=this.i&&(this.i=$q(this.i,a));Uq(a,this.i)?(this.g.listen(b,"ended",this.qa),this.l=new ar(b),null!=this.N&&Hr(this,this.N),this.I.ga("Returning audio stream acquired with constraints: "+a),null!=this.F.Ha()||a.i||this.G?Ir(this):(this.I.ga("Successful fallback to audio only."),this.M(a,!0,!0,null))):(this.I.ga("Audio constraints changed during acquisition."),Ar(this,
b),Jr(this,!0,!1))};var Kr=function(a,b,c){c=c.getVideoTracks()[0];null!=c&&null!=a.i&&vl(b.g,a.i.g)&&(b=Er(a,c.label),a.i=Yq(a.i,b))};
xr.prototype.Qa=function(a,b){this.I.ga("Video-only request completed.");Fr(this);this.G=this.U=this.W=!1;Cr(this,this.H,3);Kr(this,a,b);a=Gr(this,a,b);null!=this.i&&(this.i=$q(this.i,a));Vq(a,this.i)?0==b.getVideoTracks().length?(this.I.ga("No video tracks, treating as error."),this.M(a,null==this.l&&!this.u,!0,null)):(this.g.listen(b,"ended",this.va),lr(this.F,b,a),this.I.ga("Returning video stream acquired with constraints: "+a)):(this.I.ga("Video constraints changed during acquisition."),Ar(this,
b),Jr(this,!1,!0))};xr.prototype.La=function(){if(null!=this.l||this.u)Ir(this);else{var a=this.F.P;this.I.ga("Successful fallback to video only.");this.M(a,!0,!0,null)}};
xr.prototype.ya=function(a,b){this.I.ga("Audio/video request completed.");Fr(this);this.u=this.G=!1;Cr(this,3,3);a=Gr(this,a,b);null!=this.i&&(this.i=$q(this.i,a));Kr(this,a,b);var c=!Uq(a,this.i),d=!Vq(a,this.i),e=new webkitMediaStream(b.getAudioTracks()),f=new webkitMediaStream(b.getVideoTracks()),h=!1;c?(this.I.ga("Audio constraints changed during acquisition."),Ar(this,e)):0==e.getAudioTracks().length?(h=!0,this.I.$("Missing audio tracks.")):(this.I.ga("Successfully obtained audio."),this.g.listen(e,
"ended",this.qa),this.l=new ar(e),null!=this.N&&Hr(this,this.N));d?(this.I.ga("Video constraints changed during acquisition."),Ar(this,f)):0==f.getVideoTracks().length?(this.I.ga("Video preview called back in audio-only mode."),a.i?Ir(this):(h=!0,this.I.$("Missing video tracks."))):(this.I.ga("Successfully obtained video."),this.g.listen(f,"ended",this.va),lr(this.F,f,a));c||d?Jr(this,c,d):(h&&(this.I.ga("Requested media missing, treat as error."),this.M(a,!0,!0,null)),this.I.ga("Returning streams acquired with constraints: "+
a))};var Ir=function(a){a.dispatchEvent(new Lr(a.i));a.I.ga("Dispatched stream event.")};xr.prototype.M=function(a,b,c,d){this.I.ga("Processing as error, calling getSources.");Fr(this);Mr(t(this.ua,this,a,b,c,d))};xr.prototype.qa=function(){this.I.$("Audio stream ended.");yr(this);V(function(){Mr(t(this.ua,this,this.i,!1,!1,null))},250,this)};xr.prototype.va=function(){this.I.$("Video stream ended.");zr(this);V(function(){Mr(t(this.ua,this,this.i,!1,!1,null))},100,this)};
xr.prototype.ua=function(a,b,c,d,e,f){this.I.ga("Processing as error, getSources completed.");this.wa(e,f);var h=3==Br(this);e=e.length;f=f.length;null==d?(b||c)&&this.I.$("getUserMedia succeeded after fallback , mics found "+e+", cameras found "+f):(this.I.$("getUserMedia failed with error "+d.name+", audio requested "+b+", video requested "+c+", permitted "+h+", mics found "+e+", cameras found "+f),b&&(this.u=!1),c&&(this.G=!1));var m=new Nr(a,null!=this.Z?Or(this):null,d,u()-this.pa,new Pr(b,h&&
b&&!this.l&&0!=e),new Pr(c,h&&c&&!this.F.Ha()&&0!=f));if(h||!d||"PermissionDeniedError"!=d.name&&"PermissionDismissedError"!=d.name){if(c)if(b)if(this.l)this.I.$("Fallback to audio-only succeeded.");else if(this.F.Ha())this.I.$("Fallback to video-only succeeded.");else{this.I.$("A/V request failed.");if(e){this.I.$("Attempting audio-only fallback.");this.S=!0;Wq(a,this.i)?(this.I.info("Initial failure to getUserMedia.  Retrying audio-only with constraints: "+a),Jr(this,!0,!1)):(this.S=!1,this.I.$("Request changed before maybeFallBackToAudioOnly_ called."),
Jr(this,!0,!0));return}if(f){this.I.$("No mics. Attempting video-only fallback.");this.W=!0;Qr(this,a);return}}else this.U||this.W?(this.I.$("Video-only fallback failed."),this.U=this.W=!1,m.g.g=0!=e&&!this.l,m.g.i=!0,null!=this.l&&(0==e?km(this.I,"There are apparently no mics, but we have an audio stream."):km(this.I,"Mic has apparently failed, but we have an audio stream."))):this.I.$("Camera failed video-only request.");else if(b)if(this.S){this.I.$("Audio-only fallback failed.");this.S=!1;if(f){this.I.$("Attempting video-only fallback.");
this.U=!0;Qr(this,a);return}this.I.$("No cameras.");m.m.i=!0}else this.I.$("Mic failed audio-only request.");else this.I.$("A stream ended unexpectedly.");this.I.$("Dispatching error event:  settings = "+Jc(m.settings)+" error = "+m.error+" durationMs = "+m.l+" micStatus = "+Jc(m.g)+" cameraStatus = "+Jc(m.m))}else this.I.$("Permission denied."),Cr(this,b&&0<e?4:this.H,c&&0<f?4:this.K);this.dispatchEvent(m)};
var Qr=function(a,b){Wq(b,a.i)?(a.I.info("Initial failure to getUserMedia.  Retrying video-only with constraints: "+b),Jr(a,!1,!0)):(a.W=!1,a.U=!1,a.I.$("Request changed before maybeFallBackToVideoOnly_ called."),Jr(a,!0,!0))},Jr=function(a,b,c){if(null!=a.i){a.I.ga("Requesting GetUserMedia update with a = "+b+", v = "+c+", settings = "+a.i);var d=Wb();b&&c&&!a.i.i?(wr(a),d.webkitGetUserMedia({audio:Rq(a.i),video:Sq(a.i)},t(a.ya,a,a.i),t(a.M,a,a.i,!0,!0)),a.u=a.G=!0):b?(wr(a),d.webkitGetUserMedia({audio:Rq(a.i),
video:!1},t(a.Ga,a,a.i),t(a.M,a,a.i,!0,!1)),a.u=!0):c&&(a.i.i?(a.G=!1,Ir(a)):(wr(a),d.webkitGetUserMedia({audio:!1,video:Sq(a.i)},t(a.Qa,a,a.i),t(a.M,a,a.i,!1,!0)),a.G=!0));a.pa=u();b=a.H;a.u&&1==a.H&&(b=2);c=a.K;a.G&&1==a.K&&(c=2);Cr(a,b,c)}else a.I.info("The request has been reset.")},wr=function(a){Fr(a);a.P=V(function(){this.P=null;if((this.u||this.G)&&3==Br(this)){km(this.I,"GetUserMedia delayed in allowed state.");var a=Wi(this.Ba,ln);null!=a&&a.g(1595)}},5E3,a)},Fr=function(a){null!=a.P&&(Ng(a.P),
a.P=null)},Ar=function(a,b){a.I.ra("Stopping media tracks.");var c=b.getAudioTracks();null!=c&&0<c.length&&c[0].stop();c=b.getVideoTracks();null!=c&&0<c.length&&c[0].stop()};xr.prototype.getDevices=function(a){a&&(this.I.ra("Device permissions refresh requested"),Cr(this,2,2));if(null!=this.O)return this.I.ra("Device enumeration requested, chaining request."),a=new D,kj(this.O,a),a;this.O=new D;this.da=this.na=!0;Mr(t(this.Na,this));hj(Rr(),this.Ka,this.Ma,this);return this.O};
var Rr=function(){return Mm({method:"getSinks"}).V(function(a){return Sr(a)})},Mr=function(a){null!=window.MediaStreamTrack&&null!=MediaStreamTrack.getSources?MediaStreamTrack.getSources(function(b){b=wb(b,function(a){return a.kind});a(Tr(b.audio||[]),Tr(b.video||[]))}):V(ta(a,[new tl("1","")],[new tl("2","")]))},Tr=function(a){return y(a,function(a){return new tl(a.id,a.label)})},Sr=function(a){return y(a,function(a){return new tl(a.sinkId,a.sinkLabel)})};
xr.prototype.wa=function(a,b){this.ba=a;this.la=b;var c=Ur(a,this.H,this.u),d=Ur(b,this.K,this.G);Cr(this,c,d)};var Ur=function(a,b,c){return 4==b?b:0==a.length&&3!=b?0:null!=a&&$a(a,function(a){return""!=a.label})?3:0==b?c?2:1:b};xr.prototype.Na=function(a,b){this.wa(a,b);null!=this.i&&(this.i=Gr(this,this.i,this.l&&this.l.g),this.i=Gr(this,this.i,this.F.l));this.na=!1;Vr(this)};xr.prototype.Ka=function(a){this.Z=a;this.da=!1;Vr(this)};
xr.prototype.Ma=function(a){this.I.$("Failed to get audio sinks: "+a);this.Z=[new tl("default","__default_device")];this.da=!1;Vr(this)};
var Vr=function(a){if(!a.na&&!a.da){var b=Or(a);Jc(b)!=Jc(a.za)?a.I.ra("Returning devices from getSource and getSinks"+Jc(b)):a.I.ra("No change in devices from getSource and getSinks.");a.za=b;var c=a.O;a.O=null;c.ma(b)}},Or=function(a){x(a.ba,function(){},a);x(a.la,function(){},a);return new Fm(a.ba,a.Z,a.la)},Hr=function(a,b){a.N=b;null!=a.l?(a.I.ga("Calling setActiveSink "+b.id),ij(Mm({method:"setActiveSink",sinkId:b.id}),function(a){this.I.$("Failed to set selected speaker to "+b.toString()+": "+
a)},a)):a.I.ga("Unable to set selected speaker because audio is not acquired "+b.id)},Wr=function(a){if(null!=a.N)return pj(a.N);var b=new D;ij(Mm({method:"getActiveSink"}).V(function(a){b.ma(new tl(a,"__unknown__"))},a),function(a){b.g(a)},a);return b},Xr=function(a,b){var c=null;if(null!=b)if(1==b.length)c=b[0].id;else if(1<b.length&&""!=a){var d=Ya(b,function(b){return b.label==a});1==d.length&&(c=d[0].id)}return null!=c?new tl(c,a):null},Gr=function(a,b,c){var d=b.m;null==d&&(d=c&&c.getAudioTracks()[0],
d=Xr(null!=d?d.label:"",a.ba));var e=b.g;null==e&&(c=c&&c.getVideoTracks()[0],e=Xr(null!=c?c.label:"",a.la));return Zq(b,d,e)},Dr=function(a){a=a.match(/ \(([0-9a-f]{4}:[0-9a-f]{4})\)$/);return null!=a?a[1]:null},Lr=function(a){R.call(this,"ja");this.settings=a};v(Lr,R);var Nr=function(a,b,c,d,e,f){R.call(this,"ka");this.settings=a;this.u=b;this.error=c;this.l=d;this.g=e;this.m=f};v(Nr,R);var Pr=function(a,b){this.i=a;this.g=b};
var Yr=function(a){H(this,a,0,-1,null)};v(Yr,E);Yr.prototype.L=function(){return P(this)};var Zr=function(a){H(this,a,0,-1,null)};v(Zr,E);Zr.prototype.L=function(){return P(this)};Zr.prototype.oa=function(){return I(this,1)};Zr.prototype.ea=function(a){J(this,1,a)};var $r=function(a){H(this,a,0,-1,null)};v($r,E);$r.prototype.L=function(){return P(this)};$r.prototype.oa=function(){return I(this,1)};$r.prototype.ea=function(a){J(this,1,a)};var Z=function(a){H(this,a,0,-1,null)};v(Z,E);Z.prototype.L=function(){return P(this)};Z.prototype.nb=function(){return I(this,1)};var as=function(a){H(this,a,0,-1,null)};v(as,E);as.prototype.L=function(){return P(this)};var cs=function(a){H(this,a,0,-1,bs)};v(cs,E);var bs=[2,3];g=cs.prototype;g.L=function(){return P(this)};g.ca=function(){return K(this,Z,1)};g.R=function(a){M(this,1,a)};g.ka=function(){this.R(void 0)};g.Zb=function(){return L(this,Zr,2)};g.hc=function(){return L(this,$r,3)};g.Ec=function(){return K(this,$r,4)};
var es=function(a){H(this,a,0,-1,ds)};v(es,E);var ds=[10];es.prototype.L=function(){return P(this)};es.prototype.oa=function(){return I(this,1)};es.prototype.ea=function(a){J(this,1,a)};es.prototype.sa=function(){return I(this,4)};var fs=function(a){H(this,a,0,-1,null)};v(fs,E);fs.prototype.L=function(){return P(this)};fs.prototype.oa=function(){return I(this,1)};fs.prototype.ea=function(a){J(this,1,a)};var hs=function(a){H(this,a,0,-1,gs)};v(hs,E);var gs=[2,3];hs.prototype.L=function(){return P(this)};hs.prototype.Zb=function(){return L(this,es,2)};hs.prototype.hc=function(){return L(this,fs,3)};var is=function(a){H(this,a,0,-1,null)};v(is,E);is.prototype.L=function(){return P(this)};var js=function(a){H(this,a,0,-1,null)};v(js,E);js.prototype.L=function(){return P(this)};js.prototype.nb=function(){return I(this,4)};var ks=function(a){H(this,a,0,-1,null)};v(ks,E);ks.prototype.L=function(){return P(this)};ks.prototype.se=function(a){J(this,4,a)};var ms=function(a){H(this,a,0,-1,ls)};v(ms,E);var ls=[6];ms.prototype.L=function(){return P(this)};ms.prototype.oa=function(){return I(this,1)};ms.prototype.ea=function(a){J(this,1,a)};ms.prototype.Kf=function(a){J(this,10,a)};var ns=function(a){H(this,a,0,-1,null)};v(ns,E);ns.prototype.L=function(){return P(this)};ns.prototype.oa=function(){return I(this,1)};ns.prototype.ea=function(a){J(this,1,a)};var ps=function(a){H(this,a,0,-1,os)};v(ps,E);var os=[2,3];g=ps.prototype;g.L=function(){return P(this)};g.ca=function(){return K(this,Z,1)};g.R=function(a){M(this,1,a)};g.ka=function(){this.R(void 0)};g.Zb=function(){return L(this,ms,2)};g.hc=function(){return L(this,ns,3)};g.Ec=function(){return K(this,ns,4)};
var rs=function(a){H(this,a,0,-1,qs)};v(rs,E);var qs=[1];rs.prototype.L=function(){return P(this)};var ss=function(a){H(this,a,0,-1,null)};v(ss,E);ss.prototype.L=function(){return P(this)};var ts=function(a){H(this,a,0,-1,null)};v(ts,E);ts.prototype.L=function(){return P(this)};ts.prototype.getService=function(){return I(this,1)};var vs=function(a){H(this,a,0,-1,us)};v(vs,E);var us=[15,26];g=vs.prototype;g.L=function(){return P(this)};g.oa=function(){return I(this,1)};g.ea=function(a){J(this,1,a)};g.sa=function(){return I(this,2)};g.Mf=function(a){M(this,3,a)};g.fa=function(){return I(this,14)};
var ws=function(a){H(this,a,0,-1,null)};v(ws,E);ws.prototype.L=function(){return P(this)};ws.prototype.ca=function(){return K(this,Z,1)};ws.prototype.R=function(a){M(this,1,a)};ws.prototype.ka=function(){this.R(void 0)};var xs=function(a){H(this,a,0,-1,null)};v(xs,E);xs.prototype.L=function(){return P(this)};xs.prototype.oa=function(){return I(this,1)};xs.prototype.ea=function(a){J(this,1,a)};var zs=function(a){H(this,a,0,-1,ys)};v(zs,E);var ys=[20,8,19];g=zs.prototype;g.L=function(){return P(this)};g.oa=function(){return I(this,1)};g.ea=function(a){J(this,1,a)};g.Y=function(){return I(this,2)};g.Ea=function(a){J(this,2,a)};var As=function(a){H(this,a,0,-1,null)};v(As,E);g=As.prototype;g.L=function(){return P(this)};g.oa=function(){return I(this,1)};g.ea=function(a){J(this,1,a)};g.Y=function(){return I(this,2)};g.Ea=function(a){J(this,2,a)};var Cs=function(a){H(this,a,0,-1,Bs)};v(Cs,E);var Bs=[2,3];g=Cs.prototype;g.L=function(){return P(this)};g.ca=function(){return K(this,Z,1)};g.R=function(a){M(this,1,a)};g.ka=function(){this.R(void 0)};g.Zb=function(){return L(this,zs,2)};g.hc=function(){return L(this,As,3)};g.Ec=function(){return K(this,As,5)};g.Ue=function(){return I(this,6)};
var Es=function(a){H(this,a,0,-1,Ds)};v(Es,E);var Ds=[3];Es.prototype.L=function(){return P(this)};Es.prototype.oa=function(){return I(this,1)};Es.prototype.ea=function(a){J(this,1,a)};var Gs=function(a){H(this,a,0,-1,Fs)};v(Gs,E);var Fs=[2];g=Gs.prototype;g.L=function(){return P(this)};g.ca=function(){return K(this,Z,1)};g.R=function(a){M(this,1,a)};g.ka=function(){this.R(void 0)};g.Zb=function(){return L(this,Es,2)};var Is=function(a){H(this,a,0,-1,Hs)};v(Is,E);var Hs=[2,3];g=Is.prototype;g.L=function(){return P(this)};g.ca=function(){return K(this,Z,1)};g.R=function(a){M(this,1,a)};g.ka=function(){this.R(void 0)};g.Zb=function(){return L(this,vs,2)};g.hc=function(){return L(this,xs,3)};g.Ec=function(){return K(this,xs,4)};
var Ks=function(a){H(this,a,0,-1,Js)};v(Ks,E);var Js=[1];Ks.prototype.L=function(){return P(this)};var Ls=function(a){H(this,a,0,-1,null)};v(Ls,E);Ls.prototype.L=function(){return P(this)};var Ms=function(a){H(this,a,0,-1,null)};v(Ms,E);Ms.prototype.L=function(){return P(this)};var Os=function(a){H(this,a,0,-1,Ns)};v(Os,E);var Ns=[8];Os.prototype.L=function(){return P(this)};Os.prototype.getName=function(){return I(this,2)};var Ps=function(a,b){J(a,2,b)};Os.prototype.fa=function(){return I(this,3)};var Qs=function(a,b){J(a,3,b)},Rs=function(a,b){N(a,8,b)},Ss=function(a){H(this,a,0,-1,null)};v(Ss,E);Ss.prototype.L=function(){return P(this)};
var Ts=function(a){H(this,a,0,-1,null)};v(Ts,E);Ts.prototype.L=function(){return P(this)};var Us=function(a){H(this,a,0,-1,null)};v(Us,E);Us.prototype.L=function(){return P(this)};Us.prototype.sa=function(){return I(this,5)};Us.prototype.fa=function(){return I(this,9)};var Vs=function(a){H(this,a,0,-1,null)};v(Vs,E);Vs.prototype.L=function(){return P(this)};Vs.prototype.getHeight=function(){return I(this,1)};Vs.prototype.setHeight=function(a){J(this,1,a)};Vs.prototype.setWidth=function(a){J(this,2,a)};var Xs=function(a){H(this,a,0,-1,Ws)};v(Xs,E);var Ws=[5];Xs.prototype.L=function(){return P(this)};var Ys=function(a){H(this,a,0,-1,null)};v(Ys,E);Ys.prototype.L=function(){return P(this)};Ys.prototype.fa=function(){return I(this,1)};var Zs=function(a){H(this,a,0,-1,null)};v(Zs,E);Zs.prototype.L=function(){return P(this)};Zs.prototype.getId=function(){return I(this,1)};Zs.prototype.fa=function(){return I(this,3)};var at=function(a){H(this,a,0,-1,$s)};v(at,E);var $s=[3,6];at.prototype.L=function(){return P(this)};var ct=function(a){H(this,a,0,-1,bt)};v(ct,E);var bt=[3,4,5,6];ct.prototype.L=function(){return P(this)};ct.prototype.fa=function(){return null==I(this,1)?4:I(this,1)};var dt=function(a){H(this,a,0,-1,null)};v(dt,E);dt.prototype.L=function(){return P(this)};dt.prototype.getChannelId=function(){return I(this,1)};var ft=function(a){H(this,a,0,-1,et)};v(ft,E);var et=[3,4,5,6];ft.prototype.L=function(){return P(this)};ft.prototype.aa=function(){return I(this,1)};ft.prototype.Fa=function(a){J(this,1,a)};var gt=function(a,b){N(a,3,b)},ht=function(a,b){J(a,6,b||[])};ft.prototype.sa=function(){return I(this,7)};
var it=function(a){H(this,a,0,-1,null)};v(it,E);it.prototype.L=function(){return P(this)};it.prototype.aa=function(){return I(this,1)};it.prototype.Fa=function(a){J(this,1,a)};var kt=function(a){H(this,a,0,-1,jt)};v(kt,E);var jt=[2,3];g=kt.prototype;g.L=function(){return P(this)};g.ca=function(){return K(this,Z,1)};g.R=function(a){M(this,1,a)};g.ka=function(){this.R(void 0)};g.Zb=function(){return L(this,ft,2)};g.hc=function(){return L(this,it,3)};g.Ec=function(){return K(this,it,4)};
var lt=function(a){H(this,a,0,-1,null)};v(lt,E);g=lt.prototype;g.L=function(){return P(this)};g.oa=function(){return I(this,1)};g.ea=function(a){J(this,1,a)};g.Y=function(){return I(this,2)};g.Ea=function(a){J(this,2,a)};g.xf=function(){return I(this,3)};g.yf=function(a){J(this,3,a)};g.fa=function(){return I(this,4)};var mt=function(a){H(this,a,0,-1,null)};v(mt,E);mt.prototype.L=function(){return P(this)};var nt=function(a){H(this,a,0,-1,null)};v(nt,E);nt.prototype.L=function(){return P(this)};
var pt=function(a){H(this,a,0,-1,ot)};v(pt,E);var ot=[3];pt.prototype.L=function(){return P(this)};var qt=function(a){H(this,a,0,-1,null)};v(qt,E);qt.prototype.L=function(){return P(this)};qt.prototype.setWidth=function(a){J(this,3,a)};qt.prototype.getHeight=function(){return+I(this,4)};qt.prototype.setHeight=function(a){J(this,4,a)};var rt=function(a){H(this,a,0,-1,null)};v(rt,E);rt.prototype.L=function(){return P(this)};
var st=function(a){H(this,a,0,-1,null)};v(st,E);g=st.prototype;g.L=function(){return P(this)};g.oa=function(){return I(this,1)};g.ea=function(a){J(this,1,a)};g.Y=function(){return I(this,2)};g.Ea=function(a){J(this,2,a)};g.bh=function(){return I(this,3)};g.Ek=function(a){J(this,3,a)};
var ut=function(a){H(this,a,0,-1,tt)};v(ut,E);var tt=[2,3];g=ut.prototype;g.L=function(){return P(this)};g.ca=function(){return K(this,Z,1)};g.R=function(a){M(this,1,a)};g.ka=function(){this.R(void 0)};g.Zb=function(){return L(this,lt,2)};g.hc=function(){return L(this,st,3)};g.Ec=function(){return K(this,st,4)};
var vt=function(a){H(this,a,0,-1,null)};v(vt,E);g=vt.prototype;g.L=function(){return P(this)};g.Hk=function(){return I(this,1)};g.Af=function(a){J(this,1,a)};g.fa=function(){return I(this,2)};g.aa=function(){return I(this,3)};g.Fa=function(a){J(this,3,a)};g.me=function(){return I(this,4)};g.Bf=function(a){J(this,4,a)};g.oa=function(){return I(this,5)};g.ea=function(a){J(this,5,a)};g.Y=function(){return I(this,6)};g.Ea=function(a){J(this,6,a)};var xt=function(a){H(this,a,0,-1,wt)};v(xt,E); var wt=[1,2];xt.prototype.L=function(){return P(this)};var zt=function(a){H(this,a,0,-1,yt)};v(zt,E);var yt=[2];zt.prototype.L=function(){return P(this)};
var At=function(a){H(this,a,0,-1,null)};v(At,E);g=At.prototype;g.L=function(){return P(this)};g.oa=function(){return I(this,1)};g.ea=function(a){J(this,1,a)};g.aa=function(){return I(this,2)};g.Fa=function(a){J(this,2,a)};g.dh=function(){return I(this,3)};g.Gk=function(a){J(this,3,a)};g.zf=function(){return I(this,4)};g.Fk=function(a){J(this,4,a)};
var Ct=function(a){H(this,a,0,-1,Bt)};v(Ct,E);var Bt=[2,3];g=Ct.prototype;g.L=function(){return P(this)};g.ca=function(){return K(this,Z,1)};g.R=function(a){M(this,1,a)};g.ka=function(){this.R(void 0)};g.Zb=function(){return L(this,vt,2)};g.hc=function(){return L(this,At,3)};g.Ec=function(){return K(this,At,4)};
var Dt=function(a){H(this,a,0,-1,null)};v(Dt,E);g=Dt.prototype;g.L=function(){return P(this)};g.Ji=function(){return K(this,Cs,1)};g.Mi=function(){return K(this,kt,2)};g.Qi=function(){return K(this,Ct,3)};g.Ei=function(){return K(this,ws,4)};g.Oi=function(){return K(this,ut,5)};g.Hi=function(){return K(this,cs,7)};g.Li=function(){return K(this,Is,8)};g.Gi=function(){return K(this,ps,9)};g.Ri=function(){return K(this,Gs,10)};g.Fi=function(){return K(this,hs,11)};
var Et=function(a){H(this,a,0,-1,null)};v(Et,E);Et.prototype.L=function(){return P(this)};var Gt=function(a){H(this,a,"hcbu",-1,Ft)};v(Gt,E);var Ft=[1];Gt.prototype.L=function(){return P(this)};Q("hcbu",Gt);var Ht=function(a){H(this,a,0,-1,null)};v(Ht,E);g=Ht.prototype;g.L=function(){return P(this)};g.aa=function(){return I(this,2)};g.Fa=function(a){J(this,2,a)};g.oa=function(){return I(this,3)};g.ea=function(a){J(this,3,a)};g.Y=function(){return I(this,4)};g.Ea=function(a){J(this,4,a)};
var It=function(a){H(this,a,0,-1,null)};v(It,E);It.prototype.L=function(){return P(this)};It.prototype.sa=function(){return I(this,1)};var Jt=function(a){H(this,a,0,-1,null)};v(Jt,E);Jt.prototype.L=function(){return P(this)};var Kt=function(a){H(this,a,0,-1,null)};v(Kt,E);Kt.prototype.L=function(){return P(this)};var Lt=function(a){H(this,a,0,-1,null)};v(Lt,E);Lt.prototype.L=function(){return P(this)};var Mt=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a)throw Error("W");var c="",d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1),b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!== e)c=":"+e}return a+"://"+b+c};
var Nt=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;w=r=0}function b(a){for(var b=h,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];for(var d=e[1],f=e[2],m=e[3],n=e[4],r,w,c=0;80>c;c++)40>c?20>c?(r=m^d&(f^m),w=1518500249):(r=d^f^m,w=1859775393):60>c?(r=d&f|m&(d|f),w=2400959708):(r=d^f^m,w=3395469782),r=((a<<5|a>>>27)&4294967295)+r+n+w+b[c]&4294967295,
n=m,m=f,f=(d<<30|d>>>2)&4294967295,d=a,a=r;e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;e[3]=e[3]+m&4294967295;e[4]=e[4]+n&4294967295}function c(a,c){if("string"===typeof a){a=unescape(encodeURIComponent(a));for(var d=[],e=0,h=a.length;e<h;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==r)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,w+=64;for(;d<c;)if(f[r++]=a[d++],w++,64==r)for(r=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,w+=64}function d(){var a=[],d=8*w;56>r?c(m,56-r):c(m,
64-(r-56));for(var h=63;56<=h;h--)f[h]=d&255,d>>>=8;b(f);for(h=d=0;5>h;h++)for(var n=24;0<=n;n-=8)a[d++]=e[h]>>n&255;return a}for(var e=[],f=[],h=[],m=[128],n=1;64>n;++n)m[n]=0;var r,w;a();return{reset:a,update:c,digest:d,Bi:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}};
var Pt=function(a,b,c){var d=[],e=[];if(1==(ia(c)?2:1))return e=[b,a],x(d,function(a){e.push(a)}),Ot(e.join(" "));var f=[],h=[];x(c,function(a){h.push(a.key);f.push(a.value)});c=Math.floor((new Date).getTime()/1E3);e=eb(f)?[c,b,a]:[f.join(":"),c,b,a];x(d,function(a){e.push(a)});a=Ot(e.join(" "));a=[c,a];eb(h)||a.push(h.join(""));return a.join("_")},Ot=function(a){var b=Nt();b.update(a);return b.Bi().toLowerCase()};
var Qt=function(a){var b=Mt(String(k.location.href)),c=k.__OVERRIDE_SID;null==c&&(c=(new ah(document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?k.__SAPISID:k.__APISID,null==b&&(b=(new ah(document)).get(c?"SAPISID":"APISID")),b)){var c=c?"SAPISIDHASH":"APISIDHASH",d=String(k.location.href);return d&&b&&c?[c,Pt(Mt(d),b,a||null)].join(" "):null}return null};
var Rt=function(){};v(Rt,Oj);Rt.prototype.init=Wj();Rt.prototype.g=Wj();Rt.prototype.m=Wj();var St=new Se("DqBUy"),Ut=function(a){xj(a,St)||Xi(a,St,Tt.Pa())},Tt=function(){};ea(Tt);Tt.prototype.i=function(){};var Vt=function(){Zc.call(this);this.l=0;this.i=new S};v(Vt,Zc);var Wt=new Se("ZB0Mp"),Xt=function(a){xj(a,Wt)||Xi(a,Wt,new Vt)};Vt.prototype.X=function(){var a=[];this.i.forEach(function(b){a.push(b.key)},this);Vt.ha.X.call(this)};Vt.prototype.V=function(a,b){this.l++;this.i.set(this.l,{key:a,Le:b});return this.l};Vt.prototype.g=function(a){null!=a&&this.i.remove(a)};
var Zt=function(a){H(this,a,0,25,Yt)};v(Zt,E);var Yt=[3,20];Zt.prototype.L=function(){return P(this)};var $t=function(a){H(this,a,0,-1,null)};v($t,E);$t.prototype.L=function(){return P(this)};var bu=function(a){H(this,a,0,13,au)};v(bu,E);var au=[3,5];bu.prototype.L=function(){return P(this)};
var cu=function(a,b,c,d,e){T.call(this);this.K=a;this.H=b||da;this.l=new bu;this.g=[];this.F="";this.u=c||"https://play.google.com/log?format=json";this.G=d||null;a=new $t;J(a,1,1);M(this.l,1,a);J(this.l,2,this.K);this.i=new Mg(6E4);this.m(this.i);xd(this.i,"tick",this.flush,!1,this);this.i.start();e||(xd(nf(),"beforeunload",this.ae,!1,this),xd(nf(),"unload",this.ae,!1,this),xd(document,"pagehide",this.ae,!1,this))};v(cu,T);g=cu.prototype;g.X=function(){this.ae();cu.ha.X.call(this)};
g.log=function(a){a=a.L();if(!I(a,1)){var b=u().toString();J(a,1,b)}for(;1E3<=this.g.length;)this.g.shift();this.g.push(a);this.dispatchEvent(new du)};g.flush=function(){if(0!=this.g.length){var a=this.l.L(),b=u().toString();J(a,4,b);N(a,3,this.g);var b={},c=this.H();c&&(b.Authorization=c);this.G&&(b["X-Goog-AuthUser"]=this.G);if(!c||this.F!=c){this.g=[];var d=this.u,c=t(this.cl,this,L(a,Zt,3),c),a=a.wb(),e=new cl;fl.push(e);c&&e.listen("complete",c);Fd(e,"ready",e.Z);e.W=!0;e.send(d,"POST",a,b)}}}; g.ae=function(){this.flush()};g.cl=function(a,b,c){c=c.target;ol(c)||401!=c.ib()||(this.F=b);if(b=!ol(c))b=c.ib(),b=401==b||500<=b&&600>b;b&&(this.g=a.concat(this.g))};var du=function(){this.type="event-logged"};v(du,R);
var eu=function(a,b,c){cu.call(this,a,Qt,b,c)};v(eu,cu);var hu=function(a,b){this.l=new Vk(100);Xt(a);zj(a,Wt).then(function(a){var b=a.V("recentImpressions",t(this.u,this));$c(this,t(a.g,a,b))},null,this);this.g=new eu(50);this.g.i.setInterval(18E4);null!=b&&b.then(function(a){null!=a&&(this.g.u=a)},void 0,this);Yj(this);this.Ja.init(a)};v(hu,Zc);Pj(Rt,hu);hu.prototype.u=function(){return this.l};
hu.prototype.i=function(a,b,c,d,e,f,h){var m=new It;J(m,1,a);var n=new Lt,r=K(n,si,5)||new si;M(n,5,r);J(K(n,si,5),1,hc&&bc?2:hc?3:ic?4:jc?5:1);J(K(n,si,5),3,1);this.Ja.g(n);r=iu(n);M(r,8,m);b&&(r=ju(n),r.Fa(b));c&&(r=ju(n),J(r,5,c));d&&(r=ju(n),r.ea(d));f&&(b=ku(m),J(b,2,f));h&&(b=ku(m),J(b,1,h));this.l.add(a);this.Ja.m(n);a=new Zt;n=n.wb();J(a,8,n);e&&J(a,1,e.toString());this.g.log(a)}; var iu=function(a){var b=K(a,Kt,1)||new Kt;M(a,1,b);return b},ju=function(a){a=iu(a);var b=K(a,Ht,1)||new Ht;M(a,1,b);return b},ku=function(a){var b=K(a,Jt,3)||new Jt;M(a,3,b);return b};
var lu=function(a){var b=new si;J(b,2,a);J(b,1,hc&&bc?2:hc?3:ic?4:jc?5:1);J(b,3,1);return b};var nu=function(a){H(this,a,"hc:cc",-1,mu)};v(nu,E);var mu=[14,15];nu.prototype.L=function(){return P(this)};Q("hc:cc",nu);nu.prototype.u=function(a){J(this,6,a)};var ou=function(a){H(this,a,0,-1,null)};v(ou,E);ou.prototype.L=function(){return P(this)};var Ro=function(a){return null==I(a,3)?0:I(a,3)};
var pu=function(a,b,c){this.g=a;this.i=b;this.m=c};var qu=function(){T.call(this)};v(qu,T);var ru=[{Pb:Dt.prototype.Mi,eventType:"ta"},{Pb:Dt.prototype.Qi,eventType:"va"},{Pb:Dt.prototype.Li,eventType:"qa"},{Pb:Dt.prototype.Ji,eventType:"ra"},{Pb:Dt.prototype.Oi,eventType:"ua"},{Pb:Dt.prototype.Ei,eventType:"ma"},{Pb:Dt.prototype.Hi,eventType:"na"},{Pb:Dt.prototype.Fi,eventType:"oa"},{Pb:Dt.prototype.Ri,eventType:"wa"},{Pb:Dt.prototype.Gi,eventType:"pa"}];
qu.prototype.g=function(a){var b=K(a,Dt,2),c,d;if(null!=b)for(a=0;a<ru.length;a++){if(d=ru[a].Pb.call(b),null!=d){c=ru[a].eventType;break}}else b=K(a,Ls,3),null!=b&&(d=K(b,Ks,1),null!=d&&(c="sa"));null!=d&&this.dispatchEvent(new su(c,d))};var su=function(a,b){R.call(this,a);this.notification=b};v(su,R);
var uu=function(a,b){nu.call(this,b);this.i=a;this.F=new tu;this.G=new qu;null==I(this,1)&&J(this,1,32);var c=I(this,2)||"rmjs";J(this,2,c);c=I(this,3)||"Unknown";J(this,3,c);c=I(this,4)||"0.0";J(this,4,c);null==I(this,5)&&J(this,5,0);this.u(I(this,6)||I(this,2)+Ma().toUpperCase());c=I(this,7)||I(this,6)+"@fake.com";J(this,7,c);null==Rc(this,9)&&J(this,9,.01);c=I(this,10)||null;J(this,10,c);c=I(this,11)||"//talkgadget.google.com/hangouts/_/mlr/";J(this,11,c);c=I(this,12)||null;J(this,12,c);c=K(this,
ni,13)||new ni;M(this,13,c);null==I(this,8)&&J(this,8,!1);null==I(this,16)&&J(this,16,!1);c=I(this,14)||[];J(this,14,c||[]);c=K(this,vi,17)||new vi;M(this,17,c);c=I(this,18)||null;J(this,18,c)};v(uu,nu);var vu=new Se("CgjDUd"),wu=function(a){return a.get(vu)};uu.prototype.register=function(a){Xi(a,vu,this);return this};uu.prototype.u=function(a,b){var c=b?Ma().toUpperCase():"";uu.ha.u.call(this,a+c)}; var xu=function(a){var b=new js,c=I(a,1);J(b,1,c);var c=new is,d=I(a,6);J(c,1,d);d=new ks;M(d,1,b);M(d,2,c);d.se("pt-BR");a=lu(I(a,5));M(d,7,a);return d},tu=function(){};tu.prototype.report=da;
var yu={An:0,bm:1,TIMEOUT:2,ERROR:3,Am:4,Ul:5,xn:6,km:7,Xl:8,Ql:9,Zl:10,Ym:11,on:12,Um:13,Jl:14,hm:15,um:16,yn:17,Ll:18,sm:19,Zm:20,Cm:21,Yl:22,fm:23,Im:24,an:25,$m:26,Jm:27,wm:28,vn:29,Xm:30,Dm:31,Sl:32,Pl:33,wn:34,Sm:35,Jn:36,zn:37,qm:38,pm:39,rm:40,Cn:41,Vm:42,cm:43,gm:44,Bn:45,Ml:46,Gm:47,Pm:48,Em:49,Qm:50,Km:51,Mm:52,Lm:53,Om:54,Nm:55,bn:56,jm:57,Kn:58,Bm:59,ym:60,Nl:61,Kl:62,Wl:63,zm:64,nm:65,mm:66,xm:67,om:68,Ol:69,lm:70,Rl:71,Fm:72,$l:73,Tl:102};
var Au=function(a,b,c,d,e,f,h,m,n){T.call(this);this.gb=a;this.Dd=h||hf();this.K=new U(this);this.m(this.K);this.Ka=b;this.S=c;this.H=n||d.u||[];Hm=z(this.H,"wde");Qm=z(this.H,"wdel");Im=z(this.H,"uwde");this.Z=dm.Pa();b=z(this.H,"hwrc");this.Z.G=b;this.I=new jm("talk.media.webrtc.TalkWebRtc");b=nf();xd(b,"beforeunload",t(this.I.ra,this.I,"Detected beforeunload"));xd(b,"unload",t(this.I.ra,this.I,"Detected unload"));this.g={};this.Na=0;this.Cb=!1;this.Ub=[];this.N=this.qa=null;this.Ga=e;this.K.listen(this.Ga,
"effect-notify",this.rj);this.K.listen(this.Ga,"load-complete",this.sj);io(a);this.Ma=null;this.l=new xr(a,this.Ga,f);c&&null!=c.cams&&(c=ur(c.cams),mb(this.l.Ca.g,c.g));this.l.Aa=this;c=this.l;Mr(t(c.wa,c));this.K.listen(this.l,"ja",this.Ad);this.K.listen(this.l,"ka",this.zd);this.Cd={getdevicestate:this.Hb,setdevicestate:this.Xc,revertdevicestate:this.Wc,jec:ta(this.Qa,"jec"),jn:this.Vc,jt:this.we,jf:this.Uc,uploadlog:this.rf,sessionconnect:this.lk,comment:ta(da,"comment"),warning:ta(this.Qa,"warning"),
jack:ta(this.Qa,"jack"),checkconnectivity:ta(this.Qa,"checkconnectivity"),setoutputvolume:ta(this.Qa,"setoutputvolume")};this.va=null!=f?f.l:null;this.Ba=!1;this.U=m||null;this.ya=new D;this.Db={};this.Ca=!1;this.na={};this.Tb=new fk;this.za=null;this.La=new Of;Tf(this.La,this);c=this.gb.get(Vi);m=xe(c.i);m.length||null==Wi(this.gb,vu)?this.I.info("Property: "+c.T+"; Release: "+c.F):(c=wu(this.gb),m=xe(I(c,14)),this.I.info("Property: "+I(c,2)+"; Release: "+I(c,4)));this.I.ga("Experiments enabled: "+
m.join(","));this.I.ga("Flute experiments enabled: "+this.H.join(","));this.wa=this.ua=null;var r;m=this.Tb;m=ek(m)&&m.get("mlsds2")||[];try{var w=Hc(m),w=w||{},A=new er;A.kc=hr(w.mics);A.Rc=hr(w.speakers);A.Wb=hr(w.cameras);var F;var O=w.videoShape;if(null!=O){var ja=O.width,Pa=O.height,Sa=O.frameRate;F=ja&&Pa&&Sa?new Dq(ja,Pa,Sa):null}else F=null;A.i=F;A.g=w.cpuInfo;A.g&&null==A.g.modelName&&(A.g=null);r=A}catch(Oc){r=null}this.N=r;if(null==this.N){this.N=new er;var tb;try{var xc=window.localStorage.getItem("dsds")||
[];tb=Hc(xc)}catch(Oc){tb=null}this.wa=tb;null!=this.wa?(this.I.ga("First-time WebRTC use by plugin user."),this.P(1529)):(this.I.ga("First-time WebRTC use by new user."),this.P(1528))}this.G=new lm(a,"Microphone",this.N.kc);this.O=new lm(a,"Speaker",this.N.Rc);this.F=new lm(a,"Camera",this.N.Wb);this.K.listen(ir.Pa(),"ia",this.sk);null!=f&&(zu(this,"default-preview-session-id").ob=!0);this.la=this.da=!1;this.pa=null;z(this.H,"fmi")&&this.Jf(!0);this.ec=-1};v(Au,$h);var Bu=new Dq(640,360,30);
Au.prototype.P=function(a,b){var c=Wi(this.gb,ln);null!=c&&c.g(a,b)};Au.prototype.Kb=function(){if(null!=this.N.g)this.I.ga("Using stored cpuInfo: "+Jc(this.N.g)),Cu(this,this.N.g);else{var a=Om();a.V(this.ub,this);ij(a,Du(this,"Error getting CPU info"));ij(a,function(){this.ub(null)},this);V(function(){a.i||(km(this.I,"Cpu.getInfo has not returned within three seconds."),this.P(1541),this.ub(null))},3E3,this)}};
Au.prototype.ub=function(a){null!=a?(this.I.ga("Cpu.getInfo succeeded: "+Jc(a)),this.N.g=a,Eu(this)):(km(this.I,"Cpu.getInfo failed or timed out, using default."),a=-1!=dc.indexOf("armv7l")?{archName:"armv7l",modelName:"Unknown ARM device",numOfProcessors:2}:{archName:"x86",modelName:"Unknown non-ARM device",numOfProcessors:4});null!=this.za?this.I.ga("Cpu.getInfo completed late - already connected."):Cu(this,a)};
var Cu=function(a,b){a.za=b;Fu(a,["f-ready"]);Gu(a,new bi(0,null));var c=a.pb(!1);Fu(a,c);Gu(a,new ci(c));a.I.ra("TalkWebRtc dispatched version event")};
Au.prototype.xc=function(a){var b;ia(a)?(b=a,a=Jc(a)):b=Hc(a);this.I.ra("Asked to send message: "+a);a=b[0];var c=this.Cd[a];if(null!=c)c.apply(this,b.slice(1));else if(3<=b.length){var c=b[2],d=zu(this,c);b=b.slice(3);null!=d?d.send(a,b):this.I.ra("TalkWebRtc ignoring command "+a+" sent to unknown session "+c)}else this.I.ra("TalkWebRtc ignoring command "+a)};Au.prototype.Qa=function(a){this.I.ga("Ignoring unsupported flute command: "+a)};
var Eq=function(a){a.Cb||(a.Cb=!0,jg(function(){this.Cb=!1;var a=Hu(this);if(null!=a)a:{var c=this.l;c.I.ra("Update requested, old settings: "+c.i+" new settings: "+a);if(4==Br(c))c.I.ra("Permission already denied. Request rejected.");else{if(a.J){if(a.i&&null==c.i){c.I.ra("No media requested. Nothing to do.");break a}a=a.J?new Qq(a.l,!1,a.i,a.u,a.F,a.m,a.g):a}if(null!=a.g&&null!=a.g.label)var d=Er(c,a.g.label),a=Yq(a,d);null!=c.i&&(a=$q(a,c.i));var d=!1,e=!0,f=!0;c.u?(c.I.ra("Previous audio request is still pending."),
e=!1):null!=c.l?Uq(a,c.i)?(c.I.ra("Ignoring redundant audio request."),e=!1):(c.I.ra("Stopping current audio stream."),yr(c),d=!0,e=!a.J):(c.I.ra("No current audio stream."),e=!a.J);c.G?(c.I.ra("Previous video request is still pending."),f=!1):null!=c.F.l?Vq(a,c.i)?(c.I.ra("Ignoring redundant video request."),f=!1):(c.I.ra("Stopping current video stream."),zr(c),d=!0,f=!a.i):(c.I.ra("No current video stream."),f=!a.i);c.i=a;e||f?(c.K!=c.H&&(3!=c.H&&(f=!0),3!=c.K&&(e=!0)),Jr(c,e,f)):c.G||c.u||d&&Ir(c)}}},
a))},zu=function(a,b){var c=a.g[b];return null!=c?c:"default-preview-session-id"==b||"default-settings-session-id"==b?Iu(a,"",b,4):null},Hu=function(a){var b=Ju(a);if(!Ju(a)&&(b=null==a.va||null==a.l.F.Ha()&&!Ku(a),null==a.l.l&&b))return null;var c=Ok(a.H);Ab(a.g,function(a){Ab(a.Ub,function(a,b){Gb(Nk,b)&&(c[b]=a)},this)},a);return new Qq(a.va||Bu,Lu(a),b,c,Pk(a.H),nm(a.G),nm(a.F))},Ku=function(a){for(var b in a.g){var c=a.g[b];if(c.ob&&!c.l)return!Ju(a)||!Lu(a)}return!1},Ju=function(a){var b=!1,
c;for(c in a.g){var d=a.g[c];if(d.l||d.Vb&&!d.dd)b=!0;else if(3==d.H)return!1}return b},Lu=function(a){var b=!1,c;for(c in a.g){var d=a.g[c];if(d.Jc)b=!0;else if(3==d.H)return!1}return b};Au.prototype.Ad=function(a){this.I.ra("Got STREAM event.");Mu(this);null!=this.ua&&(this.ua=null,this.Ba=null!=this.qa,this.I.ra("Clearing error event, ready to send getdevicestate: "+this.Ba));Nu(this,a.settings)};
var Nu=function(a,b){var c=a.l.l,d=a.l.F.Ha();a.I.ra("Acquired audio and video streams "+(c?c.g.id:"<no audio>")+" and "+(d?d.id:"<no video>"));for(var e in a.g)tq(a.g[e],c,d);rm(a.G,b.m);rm(a.F,b.g);if(Dm(a.G)){var c=!1,f;for(f in a.g)Hq(a.g[f]),c=!0;c||Hq(zu(a,"default-preview-session-id"))}if(Dm(a.F)){f=!1;for(var h in a.g)Iq(a.g[h]),f=!0;f||Iq(zu(a,"default-preview-session-id"))}(om(a.G)||om(a.F))&&Eq(a);a.Ba&&(a.Ba=!1,Ou(a));null!=d&&(a.va=b.l,null==a.va||a.va.Sa(a.N.i)?d=!1:(a.N.i=a.va,d=!0),
d&&Eu(a));Pu(a)&&Eu(a);Qu(a)};Au.prototype.Jf=function(a){if(a){if(0==this.Na)for(var b in this.g)a=this.g[b],a.za=!0;++this.Na}else if(--this.Na,0==this.Na)for(b in this.g)a=this.g[b],a.za=!1};Au.prototype.ob=function(){var a=nm(this.O);this.I.ga("Maybe set selected speaker to "+a);null!=a&&a!=ul&&Hr(this.l,a)};
Au.prototype.zd=function(a){Mu(this);this.ua=a;null!=a.u&&Ru(this,a.u);if(null==a.error)this.I.$("Update request succeeded after fallback");else{var b=a.error.name;"PermissionDeniedError"==b||"PermissionDismissedError"==b?(this.I.$("Update request failed: "+b),400<a.l&&(this.I.$("Deny access button clicked"),this.dispatchEvent("xa"))):km(this.I,"Update request failed: "+b)}this.Ba=null!=this.qa;Nu(this,a.settings)};
var Ru=function(a,b){a.qa=b;var c=a.G;c.i=b.kc;pm(c);c=a.O;c.i=b.Rc;pm(c);c=a.F;c.i=b.Wb;pm(c);null!=a.wa&&a.qa.g&&(sm(a.G,a.wa[0]),sm(a.O,a.wa[1]),sm(a.F,a.wa[2]),a.wa=null,Eu(a),Eq(a))};Au.prototype.Vc=function(a,b,c,d){this.I.info("Initiating new session "+b+" with "+a+", type="+c+", dir="+d+", connection="+Jc(this.S)+", Flute version message="+this.pb(!0));Iu(this,a,b,"v"==c?3:4)};
var Iu=function(a,b,c,d){var e=a.g[c];if(null!=e)return e;4==d?b="test@testcall.google.com/test":(fm(a.Z,c),!(null==a.U||zc&&Ik(34))||Su(a,[{key:"sessionId",value:c},{key:"url",value:window.location.href}],!0));e=new hq(a.gb,d,a.Ub,a,a.Ga,b,c,a.Dd);a.K.listen(e,"ha",a.xk);d=a.g[c]=e;qq(d,"send initiate");Aq(d);lq(d,"jmistart",[Date(),4==d.H?"t":"v"]);e.za=0<a.Na;e.Aa=a;Gu(a,new bi(0,c));d=a.l.l;var f=a.l.F.Ha();tq(e,d,f);0<a.na[c]&&Ng(a.na[c]);0<=a.na[c]&&a.rf(b,c);return e},Su=function(a,b,c){var d=
Sm(b);d.V(t(a.I.ga,a.I,"Extension logging succeeeded on metadata"));d.V(t(a.Tc,a,b,c));ij(d,Du(a,"Extension logging failed on metadata"));c&&ij(d,function(){Tu(this,b)},a)};Au.prototype.Tc=function(a,b){null==this.U&&(this.U=Rm({method:"logging.start"}),this.U.V(t(this.I.ga,this.I,"Extension logging started")),this.U.V(this.ya.ma,this.ya),ij(this.U,Du(this,"Extension logging failed to start")));b&&ij(this.U,function(){Tu(this,a)},this)};
var Tu=function(a,b){a.I.ga("Extension logging: Stopping logs to retry setMetadata");jj(jj(Vm(),Um),function(){this.I.ga("Extension logging: setMetadata again");this.U=null;Su(this,b,!1);this.la=this.da=!1},a)};Au.prototype.Uc=function(a){this.Ub=a};Au.prototype.ad=function(){this.Hb()};Au.prototype.Hb=function(a){null!=this.pa?this.pa=!0:(this.pa=!0,Mu(this),this.l.getDevices(!!a).V(t(this.Jb,this)))};
var Uu=function(a){null==a.pa&&(a.pa=!1,Mu(a),a.l.getDevices().V(t(a.Jb,a)))},Qu=function(a){Mu(a);Kb(a.g)||!Cm(a.G)&&!Cm(a.F)||(a.Ma=V(function(){this.Ma=null;Uu(this)},2E3,a))},Mu=function(a){null!=a.Ma&&(Ng(a.Ma),a.Ma=null)};Au.prototype.Jb=function(a){!this.pa&&a.Sa(this.qa)?(this.pa=null,Qu(this)):(Ru(this,a),Ou(this),this.K.listen(this.l,"la",this.ad),Qu(this),(om(this.G)||om(this.F))&&Eq(this))};
var Ou=function(a){null!=mm(a.O)?null==mm(a.G)&&a.l.u||null==mm(a.F)&&a.l.G?(a.I.ra("Waiting for stream for selected mic/camera."),a.Ba=!0):(Pu(a)&&Eu(a),Fu(a,["getdevicestate","15",xm(a.G).toString(),zm(a.G),xm(a.O).toString(),zm(a.O),xm(a.F).toString(),zm(a.F)]),a.pa=null,Am(a.G),Am(a.O),Am(a.F)):(a.I.ra("Need selected speaker... asking UserMedia."),ij(Wr(a.l).V(a.$c,a),a.Zc,a))};Au.prototype.$c=function(a){this.I.ra("Got speaker selection: "+a);rm(this.O,a);Ou(this)};
Au.prototype.Zc=function(a){this.I.$("Failed to get speaker selection: "+a);a=this.O;0==a.i.length?(a.m=ul,a.I.info("Updating "+a.g+" to absent (no devices)")):(a.m=wm(a),a.I.info("Updating "+a.g+" to default "+a.m));Ou(this)};Au.prototype.Xc=function(a,b,c,d,e){null!=this.qa?(tm(this.G,b,e),tm(this.O,c,e),tm(this.F,d,e),this.ob(),Eq(this),e?Pu(this)?(this.I.ga("Saving device selections."),Eu(this)):this.I.ga("Device selections unchanged."):this.I.ga("Not saving device selections yet.")):this.I.$("Got setdevicestate before getdevicestate.")};
Au.prototype.Wc=function(){um(this.G);um(this.O);um(this.F);Eq(this);this.ob()};var Pu=function(a){return Bm(a.G)||Bm(a.O)||Bm(a.F)},Eu=function(a){a.Tb.set("mlsds2",Jc(gr(a.N)));var b=a.G;b.G=b.l.g;b=a.O;b.G=b.l.g;a=a.F;a.G=a.l.g};g=Au.prototype;g.ve=function(){Uu(this);return Au.ha.ve.call(this)};g.Re=function(){return this.Wh()?1:0};g.Wh=function(){return null!=this.za};g.isInstalled=function(){return!0};g.Bg=function(){return null==this.qa||0!=this.qa.Wb.length};g.Qe=function(){return Br(this.l)};
g.$e=function(){return null!=this.ua&&this.ua.g.g};g.Ze=function(){return null!=this.ua&&this.ua.m.g};g.Ic=function(){return!0};g.Yd=function(){return Ik(37)};g.ng=function(){};
g.pb=function(a){var b=["mf"];if(0==this.Re())mb(b,["nf0","0.0.0",1,{}]);else{var c=[103,"ISAC",1,0,16E3],d=[111,"opus",2,0,48E3],e=[[0,"PCMU",1,64E3,8E3],[8,"PCMA",1,64E3,8E3],[106,"CN",1,0,32E3],[105,"CN",1,0,16E3],[13,"CN",1,0,8E3],[126,"telephone-event",1,0,8E3]],c={audioCodecs:this.ue()?lb([d,c],e):this.Rf()?lb([c],e,[d]):lb([c],e),audioRtpHdrExts:[{id:1,uri:"urn:ietf:params:rtp-hdrext:ssrc-audio-level"},{id:3,uri:"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"}],os:ki(this),browser:li(),
browserRenderer:2,bundle:1,caps:15,clientver:1,cryptoSuites:["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],iceVersion:1,renderer:2,rtcpMux:!0,transports:["i","gice","ice"],videoCodecs:[[100,"VP8",640,400,30]],videoRtpHdrExts:[{id:2,uri:"urn:ietf:params:rtp-hdrext:toffset"},{id:3,uri:"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"}]};zc&&Ik(50)&&c.videoRtpHdrExts.push({id:5,uri:"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"});this.Yd()&&c.videoCodecs.push([96,
"rtx",640,400,30,{apt:"100"}]);zc&&Ik(38)&&(c.unsignalledRecvStreams=2);-1!=dc.indexOf("armv7l")?(c.cpuVendor="ARM",c.cpuArchitecture=2):(c.cpuModel=14,c.cpuArchitecture=0,c.cpuVendor="GenuineIntel",c.cpuFamily=6,null!=this.za.features?(c.cpuFlags=this.za.features,c.cpuHasSSE2=z(this.za.features,"sse2")):c.cpuHasSSE2=!0);c.cpus=this.za.numOfProcessors;c.egressStartBwe=this.ec;mb(b,["mf10.0","10.0.0.0",2,c])}return a?Jc(b):b};g.de=function(){for(var a in this.g)if(3==this.g[a].H)return 3;return 0};
g.lk=function(a,b){var c=this.g[b];null!=c?(c.connect(),c=im(this.Z,this.Ka),null!=c&&c.V(function(a){0<a&&this.P(2679)},this)):this.I.$("Asked to connect unknown session with remoteJid="+a+" and sessionId="+b)};
g.we=function(a,b,c,d){var e=this.g[b];if(null!=e){if(e.send("jt",[c,d]),delete this.g[b],l(this.na[b])||(this.na[b]=-1),this.I.ra("Deleted session with remoteJid="+a+" and sessionId="+b),4!=e.H&&(Kb(this.g)&&(this.l.reset(),nr(this.Ga)),Fq(this,e.Kb,a,b)),ad(e),delete this.Db[b],!Ku(this)){this.I.ra("Resetting user media");this.l.reset();nr(this.Ga);for(var f in this.g)tq(this.g[f],null,null)}}else this.I.$("Asked to terminate unknown session with remoteJid="+a+" and sessionId="+b)};
var Fq=function(a,b,c,d){if(!a.Db[d])if(a.Db[d]=!0,b)a.I.ra("Uploading logs for "+d),a.P(2494,!0),em(a.Z,d,"################# Save #################"),b=hm(a.Z,d,a.Ka),b.V(t(a.$h,a,!0,c,d)),ij(b,t(a.P,a,2496,!0)),null==a.U||a.Ca?jj(b,function(){delete this.Z.g[d]},a):(a.Ca=!0,c=Rm({method:"logging.stopAndUpload"}),c.V(function(a){this.I.info("Native log uploaded with report id: "+(a&&a.reportId))},a),ij(c,Du(a,"Native log for "+d+" failed to upload")),jj(c,function(){this.U=null;this.Ca=!1;bj(this.ya);
this.ya=new D;this.la=this.da=!1},a),jj(new Ck([b,c]),function(){delete this.Z.g[d]},a));else if(a.Ca)delete a.Z.g[d];else if(a.Ca=!0,a.I.ra("Stopping logs."),c=Vm(),c.V(function(){this.I.ra("Native log stopped.");this.U=null;this.Ca=!1;bj(this.ya);this.ya=new D;return Ik(42)?Rm({method:"logging.store",logId:d}):Vm()},a),ij(c,Du(a,"Extension logging for "+d+" failed to stop")),jj(c,function(){delete this.Z.g[d]},a),a.da||a.la)Wm(a.da,a.la),a.da=!1,a.la=!1},Du=function(a,b){return t(function(a){var d=
b+": "+a;null!=a.stack&&(d=d+"\n"+a.stack);this.I.$(d)},a)};g=Au.prototype;g.Fc=function(){return!0};g.Qh=function(){return Ik(37)};g.ue=function(){return"cros"!=ki(this)||z(this.H,"coso")};g.Rf=function(){return!0};g.Xh=function(){return!1};g.X=function(){T.prototype.X.call(this)};
var Fu=function(a,b){pq(a,b);a.I.ga("Sending "+Jc(b))},pq=function(a,b){var c=new Le("f-msg",Jc(b));Gu(a,c);"fe"==b[0]&&Gu(a,new di)},uq=function(a,b){var c=new Le("i-msg",Jc(b));Gu(a,c)},Gu=function(a,b){V(t(a.dispatchEvent,a,b))};g=Au.prototype;
g.rf=function(a,b){var c=this.g[b];null!=c?(this.na[b]=0,c.Kb=!0,c=Tm(),c.V(t(this.I.ga,this.I,"Extension logging upload requested for "+b)),ij(c,Du(this,"Extension logging upload request failed for "+b))):l(this.na[b])?(this.na[b]=0,this.I.info("Asking to upload log for non-active session with remoteJid="+a+" and sessionId="+b),this.P(3053,!0),c=hm(this.Z,b,this.Ka),c.V(t(this.$h,this,!1,a,b)),ij(c,t(this.P,this,3055,!0)),Ik(42)?Rm({method:"logging.uploadStored",logId:b}):pj()):this.na[b]=V(t(this.rf,
this,a,b),5E3)};g.$h=function(a,b,c,d){Fu(this,["uploadlogresponse",b,c,200==d.g,d.i]);200==d.g?this.P(a?2495:3054,!0):this.P(a?2496:3055,!0)};g.rj=function(a){Fu(this,["effect-notify","","",a.data])};g.sj=function(){this.dispatchEvent(new bi(0,null))};g.xk=function(){Kb(this.g)?this.I.info("No active sessions, suspend signal ignored."):(this.I.$("Suspend detected via PeerConnect shutdown, ending call."),Ab(this.g,function(a,b){this.we(a.qa,b,4,!1)},this),Fu(this,["termall"]),this.P(2055,!0))};
g.sk=function(){Kb(this.g)?this.I.info("No active sessions, suspend signal ignored."):(Ab(this.g,function(a){a.send("mute",[!0]);a.send("vmute",[!0])}),this.I.$("Suspend detected by sleep watcher, ending call."),Fu(this,["termall"]),V(function(){x(Eb(this.g),function(a){this.we(this.g[a].qa,a,4,!1)},this)},1E3,this),this.P(2056,!0))};
g.Zi=function(a){a=a.direction;var b=-1!=a.indexOf("r")&&!this.da,c=-1!=a.indexOf("s")&&!this.la;if(b||c){var d=Rm({method:"logging.startRtpDump",incoming:b,outgoing:c});d.V(function(){b&&(this.da=!0);c&&(this.la=!0);this.I.info("RTP dump started: incoming = "+b+", outgoing = "+c)},this);ij(d,Du(this,"Failed to start RTP dump: incoming = "+b+", outgoing = "+c+". Error"))}var e=-1==a.indexOf("r")&&this.da,f=-1==a.indexOf("s")&&this.la;if(e||f)d=Wm(e,f),d.V(function(){e&&(this.da=!1);f&&(this.la=!1); this.I.info("RTP dump stopped: incoming = "+b+", outgoing = "+c)},this),ij(d,Du(this,"Failed to stop RTP dump: incoming = "+b+", outgoing = "+c+". Error"))};
var Vu=function(){this.i=new fk};Vu.prototype.g=function(a,b){if(ek(this.i)){var c=b||3E4;this.i.set("hscv",Jc([u()+c,a.Da]))}};var Wu=function(a,b){this.i=new Vu;if(!zc){var c=new Pg(null,{jid:b});c.Sf();this.g=new Ah(c)}c=t(this.m,this);a.i.waitForRequest={ma:c,nf:!1}};Wu.prototype.m=function(a){var b=Hc(a);a=Hc(b.context);b=Number(Hc(b.timeoutMs));a=new $g(a);this.i.g(a,b);null!=this.g&&this.g.g(a,b)};
var Xu=function(a){H(this,a,0,-1,null)};v(Xu,E);Xu.prototype.L=function(){return P(this)};Xu.prototype.ib=function(){return I(this,1)};var Zu=function(a){H(this,a,"chbarp",-1,Yu)};v(Zu,E);var Yu=[4];Zu.prototype.L=function(){return P(this)};Q("chbarp",Zu);Zu.prototype.getResponseHeader=function(){return K(this,Xu,1)};Zu.prototype.ca=function(){return K(this,Z,3)};Zu.prototype.R=function(a){M(this,3,a)};Zu.prototype.ka=function(){this.R(void 0)};
var av=function(a){H(this,a,"chbmrp",-1,$u)};v(av,E);var $u=[4];av.prototype.L=function(){return P(this)};Q("chbmrp",av);av.prototype.getResponseHeader=function(){return K(this,Xu,1)};av.prototype.ca=function(){return K(this,Z,3)};av.prototype.R=function(a){M(this,3,a)};av.prototype.ka=function(){this.R(void 0)};
var bv=function(a){H(this,a,"chbqrp",-1,null)};v(bv,E);bv.prototype.L=function(){return P(this)};Q("chbqrp",bv);bv.prototype.getResponseHeader=function(){return K(this,Xu,1)};bv.prototype.ca=function(){return K(this,Z,3)};bv.prototype.R=function(a){M(this,3,a)};bv.prototype.ka=function(){this.R(void 0)};
var cv=function(a){H(this,a,"chbrrp",-1,null)};v(cv,E);cv.prototype.L=function(){return P(this)};Q("chbrrp",cv);cv.prototype.getResponseHeader=function(){return K(this,Xu,1)};cv.prototype.ca=function(){return K(this,Z,2)};cv.prototype.R=function(a){M(this,2,a)};cv.prototype.ka=function(){this.R(void 0)};
var ev=function(a){H(this,a,"chbsrp",-1,dv)};v(ev,E);var dv=[2];ev.prototype.L=function(){return P(this)};Q("chbsrp",ev);ev.prototype.getResponseHeader=function(){return K(this,Xu,1)};ev.prototype.ca=function(){return K(this,Z,3)};ev.prototype.R=function(a){M(this,3,a)};ev.prototype.ka=function(){this.R(void 0)};
var gv=function(a){H(this,a,"carp",-1,fv)};v(gv,E);var fv=[2];gv.prototype.L=function(){return P(this)};Q("carp",gv);gv.prototype.getResponseHeader=function(){return K(this,Xu,1)};var iv=function(a){H(this,a,0,-1,hv)};v(iv,E);var hv=[4];g=iv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};var kv=function(a){H(this,a,"charp",-1,jv)};v(kv,E);var jv=[5];kv.prototype.L=function(){return P(this)};Q("charp",kv);kv.prototype.getResponseHeader=function(){return K(this,Xu,1)};kv.prototype.ca=function(){return K(this,Z,3)};kv.prototype.R=function(a){M(this,3,a)};kv.prototype.ka=function(){this.R(void 0)};
var lv=function(a){H(this,a,0,-1,null)};v(lv,E);lv.prototype.L=function(){return P(this)};var mv=function(a){H(this,a,0,-1,null)};v(mv,E);mv.prototype.L=function(){return P(this)};mv.prototype.oa=function(){return I(this,2)};mv.prototype.ea=function(a){J(this,2,a)};var nv=function(a){H(this,a,0,-1,null)};v(nv,E);g=nv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};var pv=function(a){H(this,a,0,-1,ov)};v(pv,E);var ov=[6];g=pv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,5)};g.R=function(a){M(this,5,a)};g.ka=function(){this.R(void 0)};var qv=function(a){H(this,a,0,-1,null)};v(qv,E);g=qv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.oa=function(){return I(this,2)};g.ea=function(a){J(this,2,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};
var rv=function(a){H(this,a,0,-1,null)};v(rv,E);g=rv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.oa=function(){return I(this,2)};g.ea=function(a){J(this,2,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};
var sv=function(a){H(this,a,0,-1,null)};v(sv,E);sv.prototype.L=function(){return P(this)};sv.prototype.getName=function(){return I(this,1)};var uv=function(a){H(this,a,0,-1,tv)};v(uv,E);var tv=[3];g=uv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.Mf=function(a){M(this,2,a)};g.fa=function(){return null==I(this,6)?1:I(this,6)};g.ca=function(){return K(this,Z,8)};g.R=function(a){M(this,8,a)};g.ka=function(){this.R(void 0)};
var wv=function(a){H(this,a,0,-1,vv)};v(wv,E);var vv=[4];g=wv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};var xv=function(a){H(this,a,0,-1,null)};v(xv,E);g=xv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.aa=function(){return I(this,2)};g.Fa=function(a){J(this,2,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};
var zv=function(a){H(this,a,0,-1,yv)};v(zv,E);var yv=[4];g=zv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};var Av=function(a){H(this,a,0,-1,null)};v(Av,E);g=Av.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.oa=function(){return I(this,2)};g.ea=function(a){J(this,2,a)};g.Y=function(){return I(this,3)};g.Ea=function(a){J(this,3,a)};g.ca=function(){return K(this,Z,4)};g.R=function(a){M(this,4,a)};g.ka=function(){this.R(void 0)};
var Cv=function(a){H(this,a,0,-1,Bv)};v(Cv,E);var Bv=[4];g=Cv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.Ha=function(){return K(this,vt,2)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};
var Dv=function(a){H(this,a,0,-1,null)};v(Dv,E);g=Dv.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.aa=function(){return I(this,3)};g.Fa=function(a){J(this,3,a)};g.oa=function(){return I(this,4)};g.ea=function(a){J(this,4,a)};g.ca=function(){return K(this,Z,5)};g.R=function(a){M(this,5,a)};g.ka=function(){this.R(void 0)};
var Ev=function(a){H(this,a,0,-1,null)};v(Ev,E);g=Ev.prototype;g.L=function(){return P(this)};g.jl=function(a){M(this,4,a)};g.il=function(a){M(this,6,a)};g.gl=function(a){M(this,7,a)};g.hl=function(a){M(this,8,a)};var Gv=function(a){H(this,a,0,-1,Fv)};v(Gv,E);var Fv=[2];Gv.prototype.L=function(){return P(this)};Gv.prototype.setRequestHeader=function(a){M(this,1,a)};var Hv=function(a,b){N(a,2,b)};Gv.prototype.ca=function(){return K(this,Z,3)};Gv.prototype.R=function(a){M(this,3,a)};Gv.prototype.ka=function(){this.R(void 0)};
var Iv=function(a){H(this,a,"chpara",-1,null)};v(Iv,E);Iv.prototype.L=function(){return P(this)};Q("chpara",Iv);Iv.prototype.getResponseHeader=function(){return K(this,Xu,1)};Iv.prototype.ca=function(){return K(this,Z,3)};Iv.prototype.R=function(a){M(this,3,a)};Iv.prototype.ka=function(){this.R(void 0)};
var Jv=function(a){H(this,a,"chiarp",-1,null)};v(Jv,E);Jv.prototype.L=function(){return P(this)};Q("chiarp",Jv);Jv.prototype.getResponseHeader=function(){return K(this,Xu,1)};Jv.prototype.ca=function(){return K(this,Z,4)};Jv.prototype.R=function(a){M(this,4,a)};Jv.prototype.ka=function(){this.R(void 0)};
var Lv=function(a){H(this,a,"chparp",-1,Kv)};v(Lv,E);var Kv=[5];Lv.prototype.L=function(){return P(this)};Q("chparp",Lv);Lv.prototype.getResponseHeader=function(){return K(this,Xu,1)};Lv.prototype.ca=function(){return K(this,Z,3)};Lv.prototype.R=function(a){M(this,3,a)};Lv.prototype.ka=function(){this.R(void 0)};
var Mv=function(a){H(this,a,0,-1,null)};v(Mv,E);Mv.prototype.L=function(){return P(this)};Mv.prototype.Y=function(){return I(this,1)};Mv.prototype.Ea=function(a){J(this,1,a)};Mv.prototype.Ue=function(){return null==I(this,2)?0:I(this,2)};var Ov=function(a){H(this,a,"chpsrp",-1,Nv)};v(Ov,E);var Nv=[2,4];Ov.prototype.L=function(){return P(this)};Q("chpsrp",Ov);g=Ov.prototype;g.getResponseHeader=function(){return K(this,Xu,1)};g.ee=function(){return L(this,zs,2)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};
var Pv=function(a){H(this,a,"chqrp",-1,null)};v(Pv,E);Pv.prototype.L=function(){return P(this)};Q("chqrp",Pv);Pv.prototype.getResponseHeader=function(){return K(this,Xu,1)};Pv.prototype.ca=function(){return K(this,Z,3)};Pv.prototype.R=function(a){M(this,3,a)};Pv.prototype.ka=function(){this.R(void 0)};
var Qv=function(a){H(this,a,"chrrp",-1,null)};v(Qv,E);Qv.prototype.L=function(){return P(this)};Q("chrrp",Qv);g=Qv.prototype;g.getResponseHeader=function(){return K(this,Xu,1)};g.oa=function(){return I(this,2)};g.ea=function(a){J(this,2,a)};g.ca=function(){return K(this,Z,5)};g.R=function(a){M(this,5,a)};g.ka=function(){this.R(void 0)};
var Sv=function(a){H(this,a,"chsearp",-1,Rv)};v(Sv,E);var Rv=[4];Sv.prototype.L=function(){return P(this)};Q("chsearp",Sv);Sv.prototype.getResponseHeader=function(){return K(this,Xu,1)};Sv.prototype.ca=function(){return K(this,Z,3)};Sv.prototype.R=function(a){M(this,3,a)};Sv.prototype.ka=function(){this.R(void 0)};
var Tv=function(a){H(this,a,"chseqrp",-1,null)};v(Tv,E);Tv.prototype.L=function(){return P(this)};Q("chseqrp",Tv);Tv.prototype.getResponseHeader=function(){return K(this,Xu,1)};Tv.prototype.ca=function(){return K(this,Z,3)};Tv.prototype.R=function(a){M(this,3,a)};Tv.prototype.ka=function(){this.R(void 0)};
var Vv=function(a){H(this,a,"chsoarp",-1,Uv)};v(Vv,E);var Uv=[4];Vv.prototype.L=function(){return P(this)};Q("chsoarp",Vv);Vv.prototype.getResponseHeader=function(){return K(this,Xu,1)};Vv.prototype.ca=function(){return K(this,Z,3)};Vv.prototype.R=function(a){M(this,3,a)};Vv.prototype.ka=function(){this.R(void 0)};
var Xv=function(a){H(this,a,"chsosrp",-1,Wv)};v(Xv,E);var Wv=[2];Xv.prototype.L=function(){return P(this)};Q("chsosrp",Xv);Xv.prototype.getResponseHeader=function(){return K(this,Xu,1)};Xv.prototype.ca=function(){return K(this,Z,3)};Xv.prototype.R=function(a){M(this,3,a)};Xv.prototype.ka=function(){this.R(void 0)};
var Zv=function(a){H(this,a,"chstarp",-1,Yv)};v(Zv,E);var Yv=[4];Zv.prototype.L=function(){return P(this)};Q("chstarp",Zv);g=Zv.prototype;g.getResponseHeader=function(){return K(this,Xu,1)};g.Ha=function(){return K(this,vt,2)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};
var aw=function(a){H(this,a,"chstsrp",-1,$v)};v(aw,E);var $v=[2];aw.prototype.L=function(){return P(this)};Q("chstsrp",aw);aw.prototype.getResponseHeader=function(){return K(this,Xu,1)};aw.prototype.ca=function(){return K(this,Z,3)};aw.prototype.R=function(a){M(this,3,a)};aw.prototype.ka=function(){this.R(void 0)};
var bw=function(a){H(this,a,0,-1,null)};v(bw,E);g=bw.prototype;g.L=function(){return P(this)};g.Pi=function(){return K(this,aw,4)};g.Ni=function(){return K(this,Xv,6)};g.Ii=function(){return K(this,Ov,7)};g.Ki=function(){return K(this,Pv,8)};var dw=function(a){H(this,a,"chbrp",-1,cw)};v(dw,E);var cw=[2];dw.prototype.L=function(){return P(this)};Q("chbrp",dw);dw.prototype.getResponseHeader=function(){return K(this,Xu,1)};dw.prototype.ca=function(){return K(this,Z,3)};dw.prototype.R=function(a){M(this,3,a)};dw.prototype.ka=function(){this.R(void 0)};
var fw=function(a){H(this,a,0,-1,ew)};v(fw,E);var ew=[4];g=fw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};var hw=function(a){H(this,a,"chmrp",-1,gw)};v(hw,E);var gw=[4];hw.prototype.L=function(){return P(this)};Q("chmrp",hw);hw.prototype.getResponseHeader=function(){return K(this,Xu,1)};hw.prototype.ca=function(){return K(this,Z,3)};hw.prototype.R=function(a){M(this,3,a)};hw.prototype.ka=function(){this.R(void 0)};
var jw=function(a){H(this,a,0,-1,iw)};v(jw,E);var iw=[4];g=jw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};var lw=function(a){H(this,a,"chpmrp",-1,kw)};v(lw,E);var kw=[4];lw.prototype.L=function(){return P(this)};Q("chpmrp",lw);lw.prototype.getResponseHeader=function(){return K(this,Xu,1)};lw.prototype.ca=function(){return K(this,Z,3)};lw.prototype.R=function(a){M(this,3,a)};lw.prototype.ka=function(){this.R(void 0)};
var mw=function(a){H(this,a,0,-1,null)};v(mw,E);g=mw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.oa=function(){return I(this,2)};g.ea=function(a){J(this,2,a)};g.Y=function(){return I(this,3)};g.Ea=function(a){J(this,3,a)};g.ca=function(){return K(this,Z,4)};g.R=function(a){M(this,4,a)};g.ka=function(){this.R(void 0)};
var nw=function(a){H(this,a,"chpqrp",-1,null)};v(nw,E);nw.prototype.L=function(){return P(this)};Q("chpqrp",nw);nw.prototype.getResponseHeader=function(){return K(this,Xu,1)};nw.prototype.ca=function(){return K(this,Z,3)};nw.prototype.R=function(a){M(this,3,a)};nw.prototype.ka=function(){this.R(void 0)};
var pw=function(a){H(this,a,0,-1,ow)};v(pw,E);var ow=[6,7];g=pw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.oa=function(){return I(this,2)};g.ea=function(a){J(this,2,a)};g.Y=function(){return I(this,3)};g.Ea=function(a){J(this,3,a)};g.ca=function(){return K(this,Z,4)};g.R=function(a){M(this,4,a)};g.ka=function(){this.R(void 0)};
var qw=function(a){H(this,a,"chprrp",-1,null)};v(qw,E);qw.prototype.L=function(){return P(this)};Q("chprrp",qw);g=qw.prototype;g.getResponseHeader=function(){return K(this,Xu,1)};g.ca=function(){return K(this,Z,2)};g.R=function(a){M(this,2,a)};g.ka=function(){this.R(void 0)};g.Ue=function(){return I(this,3)};
var sw=function(a){H(this,a,0,-1,rw)};v(sw,E);var rw=[3];sw.prototype.L=function(){return P(this)};sw.prototype.setRequestHeader=function(a){M(this,1,a)};var tw=function(a){H(this,a,0,-1,null)};v(tw,E);g=tw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.aa=function(){return I(this,2)};g.Fa=function(a){J(this,2,a)};g.ca=function(){return K(this,Z,4)};g.R=function(a){M(this,4,a)};g.ka=function(){this.R(void 0)};
var uw=function(a){H(this,a,"chselrp",-1,null)};v(uw,E);uw.prototype.L=function(){return P(this)};Q("chselrp",uw);uw.prototype.getResponseHeader=function(){return K(this,Xu,1)};uw.prototype.ca=function(){return K(this,Z,2)};uw.prototype.R=function(a){M(this,2,a)};uw.prototype.ka=function(){this.R(void 0)};
var ww=function(a){H(this,a,0,-1,vw)};v(ww,E);var vw=[4];g=ww.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};var yw=function(a){H(this,a,"chsemrp",-1,xw)};v(yw,E);var xw=[4];yw.prototype.L=function(){return P(this)};Q("chsemrp",yw);yw.prototype.getResponseHeader=function(){return K(this,Xu,1)};yw.prototype.ca=function(){return K(this,Z,3)};yw.prototype.R=function(a){M(this,3,a)};yw.prototype.ka=function(){this.R(void 0)};
var Aw=function(a){H(this,a,0,-1,zw)};v(Aw,E);var zw=[4];g=Aw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};var Cw=function(a){H(this,a,"chsomrp",-1,Bw)};v(Cw,E);var Bw=[4];Cw.prototype.L=function(){return P(this)};Q("chsomrp",Cw);Cw.prototype.getResponseHeader=function(){return K(this,Xu,1)};Cw.prototype.ca=function(){return K(this,Z,3)};Cw.prototype.R=function(a){M(this,3,a)};Cw.prototype.ka=function(){this.R(void 0)};
var Dw=function(a){H(this,a,0,-1,null)};v(Dw,E);g=Dw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.oa=function(){return I(this,2)};g.ea=function(a){J(this,2,a)};g.Y=function(){return I(this,3)};g.Ea=function(a){J(this,3,a)};
var Ew=function(a){H(this,a,"chsoqrp",-1,null)};v(Ew,E);Ew.prototype.L=function(){return P(this)};Q("chsoqrp",Ew);Ew.prototype.getResponseHeader=function(){return K(this,Xu,1)};var Gw=function(a){H(this,a,0,-1,Fw)};v(Gw,E);var Fw=[4];g=Gw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.Ha=function(){return K(this,vt,2)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};
var Iw=function(a){H(this,a,"chstmrp",-1,Hw)};v(Iw,E);var Hw=[4];Iw.prototype.L=function(){return P(this)};Q("chstmrp",Iw);g=Iw.prototype;g.getResponseHeader=function(){return K(this,Xu,1)};g.Ha=function(){return K(this,vt,2)};g.ca=function(){return K(this,Z,3)};g.R=function(a){M(this,3,a)};g.ka=function(){this.R(void 0)};
var Jw=function(a){H(this,a,0,-1,null)};v(Jw,E);g=Jw.prototype;g.L=function(){return P(this)};g.setRequestHeader=function(a){M(this,1,a)};g.aa=function(){return I(this,3)};g.Fa=function(a){J(this,3,a)};g.oa=function(){return I(this,5)};g.ea=function(a){J(this,5,a)};
var Kw=function(a){H(this,a,"chstqrp",-1,null)};v(Kw,E);Kw.prototype.L=function(){return P(this)};Q("chstqrp",Kw);Kw.prototype.getResponseHeader=function(){return K(this,Xu,1)};Kw.prototype.Ha=function(){return K(this,vt,2)};var Lw=function(a){H(this,a,0,-1,null)};v(Lw,E);Lw.prototype.L=function(){return P(this)};Lw.prototype.aa=function(){return I(this,1)};Lw.prototype.Fa=function(a){J(this,1,a)};var Mw=function(a){T.call(this);this.g=a||window;this.l=xd(this.g,"resize",this.u,!1,this);this.i=lf(this.g||window)};v(Mw,T);Mw.prototype.X=function(){Mw.ha.X.call(this);this.l&&(Hd(this.l),this.l=null);this.i=this.g=null};Mw.prototype.u=function(){var a=lf(this.g||window),b=this.i;a==b||a&&b&&a.width==b.width&&a.height==b.height||(this.i=a,this.dispatchEvent("resize"))};
var Nw=function(a){T.call(this);this.g=a?mf(a.g):window;this.u=1.5<=this.g.devicePixelRatio?2:1;this.l=t(this.F,this);this.i=this.g.matchMedia?this.g.matchMedia("(min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5)"):null};v(Nw,T);Nw.prototype.start=function(){this.i&&this.i.addListener(this.l)};Nw.prototype.F=function(){var a=1.5<=this.g.devicePixelRatio?2:1;this.u!=a&&(this.u=a,this.dispatchEvent("ya"))};Nw.prototype.X=function(){this.i&&this.i.removeListener(this.l);Nw.ha.X.call(this)};
var Ow=function(a,b){Zc.call(this);this.F=a;if(b){if(this.u)throw Error("X");this.u=b;this.g=hf(b);this.i=new Mw(nf(b));this.i.Aa=this.F.G;this.l=new Nw(this.g);this.l.start()}};v(Ow,Zc);var Pw=function(a){var b=new Ow(a,document);Xi(a,Ue,b)};Ow.prototype.X=function(){this.g=this.u=null;this.i&&(this.i.dispose(),this.i=null);ad(this.l);this.l=null};
var Qw=function(){Yj(this)};ea(Qw);var Rw=function(){};v(Rw,Oj);Pj(Rw,Qw);Rw.prototype.g=Vj();Rw.prototype.m=Vj();Rw.prototype.J=Vj();Rw.prototype.l=Vj();var Sw=function(){T.call(this)};v(Sw,T);var Ij=new Se("qncme"),Tw=function(){T.call(this)};v(Tw,Sw);var Uw=function(a){Kj(a,function(){return new Tw})};var Xw=function(a,b,c,d,e,f,h){T.call(this);this.g=d;this.P=e;this.F=Vw(this.g,c);++Ww;this.O=e.g;this.Ca=h||null;this.la=f&&f.i||null;this.Ga=f&&f.g||null;this.qb=new U(this);this.m(this.qb);this.data=[];this.N=[];this.i=-2;this.K=!0;this.H=yg();this.l="pa";this.config=b;a.get(Ij);this.S={};this.wa=Od};v(Xw,T);var Yw=new S(10,67);Xw.prototype.Z=function(a){return new Zw(a.xd,a.data,[],"la")};
var $w=function(a,b){return new Zw(b.xd,[],a,"la")},Ww=0,ax=0,bx=function(a){"pa"==a.l&&(a.l="na",a.la&&a.qb.listen(a.la,a.Ga,a.Xg))};Xw.prototype.start=function(a){a&&(this.F=a.L());"pa"==this.l&&bx(this);if("na"!=this.l)return null;this.l="oa";cx(this);return null};Xw.prototype.stop=function(){if("oa"==this.l||"na"==this.l)this.flush(),this.pa(),this.l="pa"};var cx=function(a){a.K&&a.H&&(a.H.g(a.N),a.H=null)};Xw.prototype.pa=function(){this.la&&this.qb.T(this.la,this.Ga,this.Xg)};
var dx=function(a){return"oa"==a.l&&!0};Xw.prototype.X=function(){this.flush();this.stop();null!=this.H&&(this.H.i.J(),this.H=null);Xw.ha.X.call(this)};Xw.prototype.get=function(){return this.N};Xw.prototype.flush=function(){var a=0;do ex(this),a=this.M();while(0<a)};var ex=function(a){Ab(a.S,function(a){for(;a&&1<=a.length&&a[0].g;)a.shift()})},fx=function(a){return y(a.data,function(a){return a.Da})};
Xw.prototype.add=function(a,b){if(gx(this,a)){var c=hx(this,"ra",a);jg(this.M,this);return c}c=this.P.Oc([a]);return ix(this,c,t(this.Z,this),b)};var jx=function(a,b){if(gx(a,b))hx(a,"sa",b),jg(a.M,a);else{var c;c=a.P.Pc([b]);ix(a,c,t(a.Z,a),void 0)}};Xw.prototype.remove=function(a,b,c){var d=this.ua(a);return gx(this,a)&&null==c?(a=hx(this,"ta",d,b),jg(this.M,this),a):ix(this,kx(this,[d],b),ta($w,[d]),c)};
var hx=function(a,b,c,d){var e=a.ua(c).toString(),f=a.S[e]||[];a.S[e]=f;var h=null,e=f.length;if(1<=e&&!f[e-1].g)if(e=f[e-1],"ra"==b){if("ra"==e.type||"sa"==e.type)h=e.Od,f.pop(),a.report("w")}else if("sa"==b&&("ra"==e.type||"sa"==e.type)){f=e.re.L();b=f.Da;c=c.Da;for(d=0;d<c.length;d++)null!=c[d]&&!Wc(b[d],c[d])&&(b[d]=c[d]);e.re=f;a.report("v");return e.Od.i}a=new lx(b,c,h,d);f.push(a);return a.Od.i};
Xw.prototype.M=function(){var a=0,b={};Ab(this.S,function(c){if(c&&1<=c.length&&(c=c[0],!c.g)){c.g=!0;if("ta"==c.type&&c.i){var d=[c.re];mx(this,kx(this,d,c.i),ta($w,d),[c.Od],d)}else d=b[c.type]||[],d.push(c),b[c.type]=d;a++}},this);Ab(b,function(a,b){if(1<=a.length){var e=[],f=[];x(a,function(a){e.push(a.re);f.push(a.Od)});switch(b){case "ra":mx(this,this.P.Oc(e),t(this.Z,this),f,e);break;case "sa":mx(this,this.P.Pc(e),t(this.Z,this),f,e);break;case "ta":mx(this,kx(this,e),ta($w,e),f,e)}}},this);
return a};var mx=function(a,b,c,d,e){null==b&&x(d,function(a){a.m("Operation not available")});b.Nf(pi(a.config));b.Pf(qi(a.config));e=y(e,a.ua,a);var f=b.Te();f.then(t(a.sg,a,e),t(a.sg,a,e));Cg(f.then(t(a.Ug,a,b,c,d,e)),t(a.Vg,a,b,d));a.O.execute(b)};Xw.prototype.bc=function(){return tg("Resync not supported")};Xw.prototype.md=function(){return!0};
var kx=function(a,b,c){return a.P.pd(y(b,a.va,a),c)},gx=function(a,b){return b instanceof nx?ox(a.g,a.va(b)):ox(a.g,b)},px=function(a,b){var c=Vw(a.g,a.g.l(b));return new nx(a.g,c)},rx=function(a,b){var c=a.g,d=a.va(b),e=qx(c,a.F,c.i),c=qx(c,d,c.i);return vb(e,c)},ix=function(a,b,c,d){if(null==b)return tg("Operation not available");var e=yg();d=d||pi(a.config);b.Nf(d);d=qi(a.config);b.Pf(d);null!=e&&Cg(b.Te().then(t(a.Ug,a,b,c,[e],null)),t(a.Vg,a,b,[e]));a.O.execute(b);return e.i};g=Xw.prototype;
g.Ug=function(a,b,c,d,e){this.report("t");null!=b&&this.md(e.xd)&&(a=b(e))&&this.wf(a);!d||null==e.data||1>=e.data.length?c[0].g(e.data):x(c,function(a,b){var c=d[b],n=Ya(e.data,function(a){return this.ua(a).Sa(c)},this);a.g(n)},this)};g.Vg=function(a,b,c){this.report("s");x(b,function(a){a.m(c)});null!=c.response&&(a=c.response.getResponseHeader(),b=Yw.get(a.ib()),null!=b&&sx(this,b,"Collection apiary operation failed with response code "+a.ib()+" triggering endcause "+b));return c};
g.sg=function(a){var b=!1;x(a,function(a){(a=this.S[a.toString()])&&1<=a.length&&(a.shift(),b=b||1<=a.length)},this);b&&this.M()};g.Xg=function(a){"oa"!=this.l&&"na"!=this.l||this.vf(a)};g.vf=function(a){var b=this.wg(a),c=tx(this,a);a=ux(this,a);if(c.length||a.length)b=new Zw(b,c,a,"ka"),this.report("x"),this.wf(b)};g.wg=function(){return-2};
var tx=function(a,b){var c=[];x(b.notification.Zb(),function(a){a=this.g.F(a);ox(this.g,a)?rx(this,px(this,a))&&c.push(a):this.report("P","Pushed modified: "+a.wb())},a);return c},ux=function(a,b){var c=[];x(b.notification.hc(),function(a){ox(this.g,a)?(a=px(this,a),rx(this,a)&&c.push(a)):this.report("P","Pushed deleted: "+a.wb())},a);return c};Xw.prototype.wf=function(a){a instanceof Zw&&vx(this,a)};
var vx=function(a,b){x(b.i,function(a){if(ox(this.g,a)){var b=a.L();kb(this.data,function(b){return px(this,b).Sa(px(this,a))},this);this.data.push(b)}else this.report("P","Partial update: "+a.wb())},a);var c=[];x(b.m,function(a){kb(this.data,function(b){return px(this,b).Sa(a)},this)||c.push(a)},a);0<c.length&&a.report("Q","Resources not found: "+Jc(c));wx(a)},wx=function(a){var b=Ya(a.data,a.wa,a),c=xx(a,b),d=c.zb,e=c.Cc,c=c.removed;if(0<d.length||0<e.length||0<c.length)a.N=b,a.dispatchEvent(new yx(d,
e,c))},xx=function(a,b){var c=[],d=[];x(b,function(a){var b=cb(this.N,function(b){return px(this,a).Sa(px(this,b))},this);null!=b?a==b||a&&b&&a instanceof b.constructor&&Wc(a.Da,b.Da)||c.push(a):d.push(a)},a);var e=Ya(a.N,function(a){return 0>bb(b,function(b){return px(this,a).Sa(px(this,b))},this)},a);return{zb:c,Cc:d,removed:e}},zx=function(a,b){a.wa=b;wx(a)};Xw.prototype.report=function(a,b){null!=this.Ca&&this.Ca.report(a,b)};
Xw.prototype.ua=function(a){return null==a||a instanceof nx?a:px(this,a)};var Ax=function(a){this.g=a;this.id=++ax},Zw=function(a,b,c,d){Ax.call(this,a);this.l=d;this.i=b;this.m=c};v(Zw,Ax);var sx=function(a,b,c){"qa"!=a.l&&(a.pa(),a.l="qa",a.dispatchEvent(new Bx(b,c)))},lx=function(a,b,c,d){this.type=a;this.re=b;this.Od=c||yg();this.i=d||null;this.g=!1};Xw.prototype.va=function(a){return a.g};var nx=function(a,b){this.i=a;this.g=b};
nx.prototype.Sa=function(a){var b=this.i,c=a.g;a=qx(b,this.g,b.l);b=qx(b,c,b.l);return vb(a,b)};nx.prototype.toString=function(){return this.g.wb()};var yx=function(a,b,c){R.call(this,"Ca");this.Cc=b;this.zb=a;this.removed=c};v(yx,R);var Bx=function(a,b){R.call(this,"Ea");this.g=a;this.reason=b};v(Bx,R);
var Cx=function(a,b){this.data=a;this.xd=b};Cx.prototype.toString=function(){return"[op. result, version: "+this.xd+", resource count: "+this.data.length+"]"};var Ex=function(a,b,c,d,e){Zc.call(this);this.u=a;this.K=b;this.N=c||this.O;this.T=d||null;this.M=e||null;this.i=-1;this.G=yg();this.g=null;this.l=!1;this.F=0;this.H=void 0;this.P=++Dx};v(Ex,Zc);var Dx=0;Ex.prototype.eh=function(a){this.i=a;Fx(this)};Ex.prototype.Ve=function(){return this.G};Ex.prototype.Te=function(){return this.G.i};Ex.prototype.Cg=function(){return this.l};var Gx=function(a){null==a.g&&(a.g=a.K(),Fx(a));return a.g};Ex.prototype.Nf=function(a){this.F=a};Ex.prototype.Se=function(){return this.F};
Ex.prototype.Pf=function(a){this.H=a};Ex.prototype.We=function(){return this.H};var Fx=function(a){if(null!=a.g&&-1!=a.i){var b=a.g;if(ma(b.R)){var c=new Z;J(c,1,a.i);b.R(c)}else ma(b.ka)&&b.ka()}};Ex.prototype.toString=function(){return"[Operation id: "+this.P+": "+this.u+", version: "+this.i+"]"};Ex.prototype.O=function(){return[]};var Hx=function(){ua.call(this)};v(Hx,ua);Hx.prototype.message="Operation has already been executed.";Hx.prototype.name="AlreadyExecutedError";
var Ix=function(){T.call(this)};v(Ix,T);var Jx=function(a,b,c,d){this.status=a;this.m=b;this.g=c;this.response=d};Jx.prototype.toString=function(){var a="["+this.status+"/"+this.m;null!=this.g&&(a+="/"+this.g);null!=this.response&&(a+=": ",a=ka(this.response)?a+Be(this.response,this.i,this).join("; "):a+this.i(this.response));return a+"]"};
Jx.prototype.i=function(a){if(null!=a.error){var b=a.error;a=b.message+" "+b.code;b=b.data||b.errors;null!=b&&(b=Be(b,function(a){var b=a.domain+" - "+a.reason;null!=a.debugInfo&&(b+=" = "+Ta(a.debugInfo,"\n",4).slice(0,3).join(" - "));return b}),ze(b)||(a+=": "+b.join(", ")));return a}return"Unknown"};
var Kx=function(a,b,c,d){this.l=a;this.J=b;this.g=this.m=a;this.u=c||0;this.F=d||2};Kx.prototype.i=0;Kx.prototype.reset=function(){this.g=this.m=this.l;this.i=0};var Lx=function(a){a.g=Math.min(a.J,a.g*a.F);a.m=Math.min(a.J,a.g+(a.u?Math.round(a.u*(Math.random()-.5)*2*a.g):0));a.i++};
var Nx=function(){this.qe=new Mx;this.u=new Kx(1E3,36E4);this.l=6E4;this.F=!1;this.K=[]};g=Nx.prototype;g.toString=function(){return"<# "+this.g+" to "+(this.J||"")+" for "+this.G+">"};g.se=function(a){this.S=a;return this};g.Bh=function(a){this.J=a;return this};g.Ah=function(a){this.G=a;return this};g.Lh=function(a){this.P=a;return this};g.Mh=function(a){this.T=a;return this};g.Kf=function(a){this.M=a;return this};g.Nh=function(a){this.m=a;return this};var Ox=function(a,b){a.g=b};
Nx.prototype.kl=function(a){this.H=a};Nx.prototype.el=function(a){this.l=a};var Px=function(a){var b=a.u.m,b=Math.round(.5*b)+Math.floor(Math.random()*b);Lx(a.u);return Math.min(b+0,36E4)},Mx=function(){};Mx.prototype.Lf=function(a){this.i=a;return this};Mx.prototype.Kh=function(a){this.m=a};Mx.prototype.ma=function(a){this.i(a)};Mx.prototype.g=function(a){this.m(a)};
var Qx=new Se("iHLLuf");var Rx=function(a,b){T.call(this);this.g=b;a.load(t(this.F,this),t(this.G,this));this.H=0;this.u=new S;this.l=new S};v(Rx,T);var Sx=null,Tx=function(a,b,c,d){var e="\r\n\r\n--"+d+"\r\n";d="\r\n\r\n--"+d+"--\r\n";var f=e+"Content-Type: "+a+"\r\n\r\n"+(na(b)?JSON.stringify(b):b);x(c,function(a){f+=e+"Content-Type: "+a.type+"\r\nContent-transfer-encoding: "+a.g+"\r\n\r\n"+a.data+"\r\n\r\n"});return f+=d};Rx.prototype.F=function(a){this.i=a;this.dispatchEvent("Ha")};
Rx.prototype.G=function(){this.J||(this.i=null)};Rx.prototype.X=function(){var a=this.u.Ta();x(a,Ng);a=this.l.Ta();x(a,Ng)};Rx.prototype.request=function(a){Ux(this,a)};
var Ux=function(a,b){if(!a.J&&!b.F&&null!=a.i){Ox(b,a.H++);a.g&&a.g.onRequest(b);var c=b.M,d=null!=b.O?b.O:{},e=null!=b.T?b.T:{},f=null!=b.N?b.N:"application/json";if(null!=b.m?b.m:1)e.alt="protojson",f="application/json+protobuf",null!=c&&(c=c.Da);var h=b.K;if(0<h.length){d["MIME-Version"]="1.0";var m="END_OF_PART_"+Ma();d["Content-Type"]='multipart/related; boundary="'+m+'"';c=Tx(f,c,h,m)}else null!=c&&(d["Content-Type"]=f);d["Accept-Language"]=b.S||"en";null!=Sx&&Sx.forEach(function(a,b){null!=
d[b]||(d[b]=a)},a);c={method:b.P,path:b.G,params:e,headers:d,body:c};ya(La(b.J||""))||(c.root=b.J||"");try{var n=a.i.client.request(c);b.i="p";null!=b.l&&a.l.set(b.g,V(t(a.M,a,b),b.l||void 0));n.execute(t(a.K,a,b))}catch(r){Vx(a,b,new Jx("fatal","request_queuing",null,null),null,0)}}};Rx.prototype.M=function(a){Vx(this,a,new Jx("retry","deadline_exceeded",null,null),null,0)};
Rx.prototype.K=function(a,b,c){if(this.J||"p"!=a.i)Wx(this,a);else{var d=null,e="ok",f;Wx(this,a);var h=null,m=null;try{var n=Hc(c),r=n.gapiRequest.data.body,h=n.gapiRequest.data.headers,d=Hc(r)}catch(w){f="response_decoding",e="retry"}null!=b&&null!=b.error&&(m=b.error.code,f="network_or_frontend",e="retry",400==b.error.code?(f="bad_request",e="fatal"):401==b.error.code?(f="unauthorized",e="fatal"):402==b.error.code?(f="payment_required",e="fatal"):403==b.error.code&&(f="forbidden",e="fatal"));"ok"==
e&&null!=d.error&&(f="backend",e="retry");"ok"==e&&((b=null!=a.m?a.m:!0)&&!ka(d)||!b&&!na(d))&&(f="response_format",e="retry");if("ok"==e&&(a.i="o",a.qe.ma(d),"o"!=a.i))switch(f="response_callback",a.i){case "r":e="retry";break;case "d":e="fatal"}if("ok"==e)this.g&&this.g.i(a,d);else{b=0;if(null!=h&&null!=h["Retry-After"])try{b=1E3*parseInt(h["Retry-After"],10),b=Math.min(Math.max(b,0),72E5)}catch(w){}Vx(this,a,new Jx(e,f,m,d),c,b)}}c=this.l.get(a.g);null!=c&&(this.l.remove(a.g),Ng(c))};
var Wx=function(a,b){var c=a.u.get(b.g);null!=c&&(a.u.remove(b.g),Ng(c))},Vx=function(a,b,c,d,e){a.J||"p"!=b.i&&"r"!=b.i||(a.g&&a.g.g(b,c,d),d=null!=b.H?b.H:0,"retry"==c.status&&0<d?a.u.set(b.g,V(t(a.request,a,b),Math.max(Px(b),e))):(b.F=!0,b.i="c",b.qe.g(c)))};
var Xx=function(a,b,c,d,e){T.call(this);this.u=b;this.F=c;this.H=e||"https://clients6.google.com";this.G=d;this.i=a;this.l=yg();null!=this.i.i?this.l.g():Fd(this.i,"Ha",function(){this.l.g()},!1,this)};v(Xx,T);Xx.prototype.request=function(a,b,c,d,e,f,h){this.l.i.then(function(){var m=(new Nx).Bh(this.H).Ah("/"+this.u+"/"+this.F+"/"+a).Lh(b).Mh(c).Nh(!l(h)||h).Kf(d),n=yg();n.i.then(e,f||da);m.qe.Lf(t(n.g,n)).Kh(t(n.m,n));this.i.request(m)},null,this)};
Xx.prototype.makeRequest=function(a,b,c,d){var e=ya(La(this.G))?{}:{key:this.G};a=(new Nx).Bh(this.H).Ah("/"+this.u+"/"+this.F+"/"+a).Lh("POST").Mh(e).Nh(!0).Kf(b);null!=c&&a.el(c);null!=d&&a.kl(d);c=yg();a.qe.Lf(t(c.g,c)).Kh(t(c.m,c));this.l.i.then(t(this.i.request,this.i,a));return c.i.then(this.K,null,this)};Xx.prototype.K=function(a){return 0<a.length?Vc(a):null};
var Yx=function(a,b,c,d,e){Xx.call(this,a,b,c,d,e);this.g=null};v(Yx,Xx);Yx.prototype.makeRequest=function(a,b,c,d,e){e||Zx(this,b);return Yx.ha.makeRequest.call(this,a,b,c,d).then(this.M,null,this)};var Zx=function(a,b){if(b&&a.g&&ma(b.ca)&&ma(b.R)){var c=b.ca()||new Z;M(c,3,a.g);b.R(c)}};Yx.prototype.M=function(a){ma(a.getResponseHeader)&&1==a.getResponseHeader().ib()&&$x(this,a);return a}; var $x=function(a,b){var c;c=(c=ma(b.ca)&&b.ca()||null)&&K(c,as,3);null!=c&&(!a.g||I(c,2)>I(a.g,2))&&(a.g=c)};
var ay=function(a,b,c,d,e){T.call(this);this.g=[];this.u=b;this.l=b instanceof Yx?b:null;this.N=a;this.G=c||null;this.O=l(d)?d:8;this.P=lu(e||0)};v(ay,Ix);var by=function(a){var b=new ks,c=new js;M(b,1,c);c=K(b,js,1);J(c,1,a.O);c=new is;null!=a.G&&J(c,4,a.G);M(b,2,c);c=K(b,is,2);J(c,1,a.N);b.se("pt-BR");M(b,7,a.P);return b};ay.prototype.execute=function(a,b){if(a.Cg())throw new Hx;this.l&&!l(b)&&a.T?(this.g.push(a),1==this.g.length&&jg(this.M,this)):cy(this,a,b)};
ay.prototype.M=function(){for(var a=0;a+5<this.g.length;)dy(this,nb(this.g,a,a+5)),a+=5;1==this.g.length-a?cy(this,this.g[a]):dy(this,nb(this.g,a));this.g.length=0};var cy=function(a,b,c){var d=b.u,e=Gx(b);e.setRequestHeader(by(a));var f=b.Se();c=l(c)?c:b.We();Cg(a.u.makeRequest(d,e,c,f).then(t(a.F,a,b)),t(a.i,a,b))};
ay.prototype.F=function(a,b){var c=b.getResponseHeader();if(1==c.ib()){var c=a.N(b),d;d=ma(b.ca)&&null!=b.ca()?b.ca().nb():-1;c=new Cx(c,d);a.l=!0;a.Ve().g(c)}else Error(I(c,8)).stack=I(c,2),this.i(a,new Jx("fatal","backend",null,b))};ay.prototype.i=function(a,b){a.l=!0;a.Ve().m(b)};
var dy=function(a,b){var c=new Gv;c.setRequestHeader(by(a));Hv(c,y(b,function(a){var b=Gx(a);b.setRequestHeader(by(this));Zx(this.l,b);var c=new Ev;a.T.call(c,b);return c},a));var d=Math.max.apply(null,y(b,function(a){return a.Se()})),e=Math.min.apply(null,y(b,function(a){return a.We()}));Cg(a.u.makeRequest("hangouts/bulk",c,e,d).then(t(a.K,a,b)),t(a.H,a,b))}; ay.prototype.K=function(a,b){$x(this.l,b);var c=L(b,bw,2);x(a,function(a,e){var f=a.M.call(c[e]);f?($x(this.l,f),this.F(a,f)):this.i(a,new Jx("fatal","backend",null,b))},this)};ay.prototype.H=function(a,b){x(a,function(a){this.i(a,b)},this)};
var ey=function(a){this.g=a};var fy=function(a){this.g=a};v(fy,ey);var hy=function(){this.g=new gy;this.i=null;this.version=0};v(hy,fy);g=hy.prototype;g.Oc=function(a){return new iy(this,0,a)};g.Pc=function(a){return new iy(this,1,a)};g.pd=function(a){return new iy(this,2,a)};g.Id=function(a){return new iy(this,3,[a])};g.qd=function(){return new iy(this,4,[])};var gy=function(){T.call(this)};v(gy,Ix);gy.prototype.execute=function(a){a.execute()};var iy=function(a,b,c){this.g=a;this.J=b;this.m=c;this.version=null;this.i=yg();this.l=!1};
iy.prototype.execute=function(){this.l=!0;jg(t(this.nl,this))};var jy=function(a){if(!a.g.i)return null;switch(a.J){case 0:return a.m;case 1:var b=[];x(y(a.m,a.rg,a),function(a,d){null===a||b.push(this.m[d])},a);return b;case 2:case 3:return a=y(a.m,a.rg,a),kb(a,ga),a;case 4:return a.g.i.get();default:return null}};g=iy.prototype;g.rg=function(a){var b=this.g.i;if(!b)return null;var c=px(b,a);return cb(b.get(),function(a){return c.Sa(px(b,a))})};
g.nl=function(a,b){var c=a||jy(this);if(c){if(l(b))b>this.g.version&&(this.g.version=b);else switch(this.J){case 0:case 1:case 2:this.g.version++}this.i.g(new Cx(c,l(b)?b:this.g.version))}else this.i.m("Could not perform operation")};g.eh=function(a){this.version=a};g.Ve=function(){return this.i};g.Te=function(){return this.i.i};g.Se=Nd(0);g.Nf=da;g.We=Nd(0);g.Pf=da;g.Cg=function(){return this.l};
var ky=function(a,b){this.i=a;this.g=b};var ly=function(a,b,c,d,e,f,h,m,n,r){this.g=a;this.G=B(b);this.H=B(c);B(d);this.u=lb(b,d);this.N=lb(c,e);this.m=f;this.T=B(h);this.K=B(m);B(n);this.J=lb(h,n);this.M=lb(m,r)};ly.prototype.i=function(a){var b;if(a instanceof this.g)b=this.G;else if(a instanceof this.m)b=this.T;else return[];return y(b,function(b){return b.call(a)})};ly.prototype.l=function(a){var b;if(a instanceof this.g)b=this.u;else if(a instanceof this.m)b=this.J;else return[];return y(b,function(b){return b.call(a)})};
var my=function(a,b){var c=a.N;b.length!=c.length&&(c=a.H);var d=new a.g;x(b,function(a,b){c[b].call(d,a)},a);return d},Vw=function(a,b){var c=a.M;b.length!=c.length&&(c=a.K);var d=new a.m;x(b,function(a,b){c[b].call(d,a)},a);return d},ox=function(a,b){var c;if(b instanceof a.g)c=a.u;else if(b instanceof a.m)c=a.J;else return!1;return!$a(c,function(a){return null==a.call(b)})};ly.prototype.F=function(a){return a instanceof this.g?a:new this.g(a.Da)}; var qx=function(a,b,c){return b instanceof Array?b:c.call(a,b)};
var ny=function(a,b,c,d,e,f,h){Xw.call(this,a,b,c,d,e,f,h);this.Ka=e;this.i=-1;this.K=!1;this.ya=-1;this.u=[];this.na=this.W=this.qa=this.da=null;this.ba=!1;this.za=0;this.U=null;a=this.config;a=null==I(a,2)?1E3:I(a,2);b=this.config;b=null==I(b,3)?6E4:I(b,3);this.G=new Kx(a,b)};v(ny,Xw);ny.prototype.start=function(a){ny.ha.start.call(this,a);if("oa"!=this.l)return null;this.qb.listen(this.O,"Ga",this.Ng);oy(this,!0);return py(this,"xa",!0)};
ny.prototype.pa=function(){ny.ha.pa.call(this);this.qb.T(this.O,"Ga",this.Ng);Ng(this.na);this.na=null;this.G.reset();Ng(this.qa);this.qa=null;Ng(this.W);this.U=this.W=null;this.K=!1};ny.prototype.search=function(a){return ix(this,this.Ka.qd(this.F),null,a)};
var ry=function(a,b){"wa"!=b&&0==a.G.i&&a.O.dispatchEvent("Ga");var c="ya"==b||"za"==b,d="xa"==b?void 0:0,e=a.Ka.qd(a.F),f=-2;ri(a.config)&&(9E4>u()-a.za?(f=a.i,e.eh(f)):a.za=u());d=ix(a,e,function(a){return f!=a.xd?new qy(a.xd,a.data,b):null},d);Cg(d.then(t(a.Na,a,c)),t(a.Ma,a,c));a.da=d;Cg(a.da,da);return d};g=ny.prototype;g.md=function(a){return 0<=a};g.Ng=function(){py(this,"wa",!0)};g.bc=function(){return null!=py(this,"Aa",!0)||this.da?this.da:tg("Collection not yet started, so cannot resync.")};
g.vf=function(a){var b=!1,c=a.notification.Ec();null!=c&&(b=px(this,c),b=rx(this,b));b?this.bc():ny.ha.vf.call(this,a)};g.wg=function(a){var b;ma(a.notification.ca)&&null!=a.notification.ca()&&(b=a.notification.ca().nb());return b};
g.wf=function(a){this.ya=Math.max(this.ya,a.g);oy(this,!1);if(a instanceof qy)sy(this,a);else{this.md(this.i)||this.dispatchEvent(new ty(a.i,a.m));if(this.md(this.i)&&a.g<=this.i){"ka"==a.l&&this.report("z");this.report("y");return}var b=cb(this.u,function(b){return b.g<=a.g},this);if(null!=b&&a.g==b.g){this.report("y");return}hb(this.u,a,b)}uy(this);(this.K=0==this.u.length&&this.md(this.i))?cx(this):py(this,"Ba",!1)};
var py=function(a,b,c){if(!dx(a)||a.ba)return null;a.G.reset();var d=null;a.ba=!0;c?d=ry(a,b):vy(a);return d},wy=function(a){a.ba&&(a.ba=!1,a.dispatchEvent("Fa"))},vy=function(a){var b=a.G.m;a.report("C");a.na=V(a.La,b,a)};ny.prototype.La=function(){this.na=null;dx(this)?(this.report("D"),ry(this,"Ba")):wy(this)};
ny.prototype.Na=function(){xy(this,!1);if(this.K||!dx(this))wy(this);else{var a=!1,b;b=this.config;b=null==I(b,5)?4:I(b,5);if(this.G.i>=b)this.report("B"),a=!0;else{b=this.u.length;var c;c=this.config;c=null==I(c,4)?64:I(c,4);b>c&&(this.report("A"),a=!0)}a?(fb(this.u),this.G.reset(),ry(this,"Ca")):(Lx(this.G),vy(this))}};ny.prototype.Ma=function(a){this.report(a?"O":"E");xy(this,!0);dx(this)?(Lx(this.G),vy(this)):wy(this)};
var uy=function(a){if(0!=a.u.length&&a.md(a.i)){for(var b=0;0<a.u.length&&Va(a.u).g<=a.i;)a.u.pop(),b++;for(b=0;0<a.u.length;){var c=Va(a.u);if(c.g==a.i)a.u.pop(),b++;else if(c.g==a.i+1)a.i=c.g,vx(a,c),a.u.pop(),b++;else break}}};ny.prototype.Ba=function(a){dx(this)&&(this.report("F"),py(this,a,!0),oy(this,!0))};
var oy=function(a,b){if(dx(a)){Ng(a.qa);var c=ta(a.Ba,"ya"),d;d=a.config;d=null==I(d,1)?3E4:I(d,1);a.qa=V(c,d,a);c=a.config;c=null==I(c,9)?9E4:I(c,9);null!=c||(c=9E4);b&&0<c&&(Ng(a.W),a.W=V(ta(a.Ba,"za"),c,a))}},xy=function(a,b){if(b)if(null!=a.U){var c=u()-a.U,d="Sync operations failing for a period of "+c/1E3+" seconds (limit configured to: "+oi(a.config)/1E3+" seconds).";c>=oi(a.config)&&sx(a,22,d)}else a.U=u();else a.U=null},sy=function(a,b){if(a.i>=b.g){var c=[];a.i==b.g&&(x(b.data,function(a){var b=
cb(this.data,function(b){return px(this,a).Sa(px(this,b))},this);b==a||b instanceof a.constructor&&yy(b.Da,a.Da)||c.push({local:b&&b.L().Da,server:a.L().Da})},a),x(a.data,function(a){null!=cb(b.data,function(b){return px(this,a).Sa(px(this,b))},this)||c.push({local:a.L().Da,server:null})},a));if(0!=c.length)a.report("N",c);else{a.report("K");switch(b.i){case "Ba":a.report("L");break;case "ya":a.report("M")}return}}a.report("G");switch(b.i){case "ya":a.report("I");break;case "Ba":a.report("H");break;
case "Ca":a.report("J")}var d=Ya(b.data,function(a){if(ox(this.g,a))return!0;this.report("P","Full update: "+a.wb());return!1},a),e=[];x(a.data,function(a){cb(d,function(b){return px(this,a).Sa(px(this,b))},this)||e.push(px(this,a))},a);a.i=b.g;vx(a,new Zw(b.g,d,e,"ma"))},yy=function(a,b){var c=ia(a),d=ia(b);if(c&&d){var c={},e;for(e in a)a.hasOwnProperty(e)&&(c[e]=0);for(e in b)b.hasOwnProperty(e)&&(c[e]=0);for(e in c)if(!yy(a[e],b[e]))return!1;return!0}return a==b||null==a&&d&&0==b.length||null== b&&c&&0==a.length},qy=function(a,b,c){Ax.call(this,a);this.data=b;this.i=c};v(qy,Ax);var ty=function(a,b){R.call(this,"Da");this.zb=a;this.removed=b};v(ty,R);
var zy=function(a){T.call(this);this.G=a;this.F=this.u=null;this.i=0;this.l=null;Yj(this)};v(zy,T);var Ay=new Se("C3Rmoe"),By=function(a){var b=Wi(a,Ay);null==b&&(b=new zy(a),Xi(a,Ay,b));return b},Cy={Hm:0,em:1,dm:2,Tm:3,nn:4,mn:5,ln:6,kn:7},Dy=function(a){null==a.l&&(a.l=a.Ja.sd({})||sg(7),a.l.then(a.g,a.g,a),Cg(a.l,t(function(){this.l=null},a)));return a.l};zy.prototype.g=function(a){a!=this.i&&q(a)&&Hb(Cy,a)&&(this.i=a,this.dispatchEvent("Ja"))};
var Ey=function(a,b,c,d,e){if(0==a.i)return tg(0);b=a.Ja.ne(b,c,d,e,void 0)||sg(a.i);b.then(a.g,a.g,a);return b},Fy=function(a){null==a.F&&(a.F=a.Ja.Fd());return a.F},Gy=function(a){null==a.u&&(a.u=a.Ja.Ed());return a.u},Hy=function(a){this.Ia=a.G;this.m=a};v(Hy,Oj);Pj(Hy,zy);g=Hy.prototype;g.sd=Vj();g.Bb=Vj();g.ne=Vj();g.Fd=Vj();g.fh=Vj();g.Jd=Vj();Vj();Hy.prototype.rd=Vj();Vj();Vj();Hy.prototype.Ed=Vj();
var Iy=function(a,b,c,d,e,f){T.call(this);this.i=a;this.O=b;this.F=c;this.G=l(f)?f:8;this.K=e||Ma();this.M=lu(d);this.g=37;"hangout_lite"==c&&(this.g=55)};v(Iy,T);Iy.prototype.l=function(a){return null!=a?K(a,ft,2):null};
var Ly=function(a,b,c,d){J(b,9,a.g);J(b,13,a.F);var e=new tw;e.setRequestHeader(Jy(a));e.Fa(c);M(e,3,b);return Cg(Ky(a,"media_sessions/log",e,d),function(a){throw a;},a)},Jy=function(a){var b=new ks,c=new js;M(b,1,c);c=K(b,js,1);J(c,1,a.G);c=new is;J(c,1,a.O);J(c,4,a.K);M(b,2,c);b.se("pt-BR");M(b,7,a.M);return b};Iy.prototype.u=function(a){if(null==a)throw new My;if(l(a.getResponseHeader)){var b=a.getResponseHeader();if(null!=b){if(b=b.ib(),1!=b)throw new My(0,b);}else throw new My;}return a}; var Ky=function(a,b,c,d){return null!=a.i?a.i.makeRequest(b,c,a.N,a.H,d).then(a.u,function(a){throw a;},a):tg("Failed to "+b+" "+c+": no service")},My=function(a,b){ua.call(this);this.status=b||0};v(My,ua);
var Ny=function(a,b,c,d,e,f,h){this.l=a;this.i=b;this.m=c;this.g=l(d)?Nb(d):null;this.Rb=l(e)?e:null;this.tc=l(f)?f:!0;this.J=l(h)?h:null;this.u=[]};Ny.prototype.toString=function(){return"{participantId: "+this.l+", sourceId: "+this.i+", mediaType: "+this.m+", resolution: "+this.g+", frameRate: "+this.Rb+", adaptationReason: 0, ssrcs: "+this.u+"}"};Ny.prototype.Y=function(){return this.l};Ny.prototype.fa=function(){return this.m};var Oy=function(a){return null!=a.g?Nb(a.g):null};g=Ny.prototype;
g.Va=function(){return this.u};g.aa=function(){return this.J};g.Ac=function(a){return new Ny(this.l,a,this.m,null!=this.g?this.g:void 0,null!=this.Rb?this.Rb:void 0,null!=this.tc?this.tc:void 0,null!=this.J?this.J:void 0)};g.getHeight=function(){return null!=this.g?this.g.height:null};g.Yk=function(a){return this.Y()==a.Y()&&Py(this,a)};var Py=function(a,b){return a.fa()==b.fa()&&a.i==b.i};
var Qy=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};Qy.prototype.clone=function(){return new Qy(this.left,this.top,this.width,this.height)};var Ry=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};
Qy.prototype.contains=function(a){return a instanceof Qy?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};Qy.prototype.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
Qy.prototype.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Qy.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
var Ty=function(a,b,c,d,e,f,h){T.call(this);this.G=a;this.H=b;this.K=c;this.Gf=l(d)?d:"Ia";this.F=l(e)?e:"Ka";this.i=null;Sy(this,h||null);this.Nd=l(f)?f:null};v(Ty,T);g=Ty.prototype;g.Y=function(){return this.G};g.Ea=function(a){this.G=a};g.getId=function(){return this.H};g.sa=function(){return this.K};g.hb=function(){return this.Gf};g.getState=function(){return this.F};g.Ra=function(a){this.F!=a&&(this.F=a,this.dispatchEvent("Ma"))};
var Sy=function(a,b){var c=null!=a.i&&!eb(a.i),d=null!=b&&!eb(b);d?(b=B(b),qb(b,function(a,b){return a.left-b.left||a.top-b.top||a.width-b.width||a.height-b.height})):b=null;if(c=d!=c||d&&!vb(a.i,b,Ry))a.i=b;return c};Ty.prototype.l=function(){return null!=this.i?B(this.i):null};Ty.prototype.dispatchEvent=function(a){return Ty.ha.dispatchEvent.call(this,a)};
var Uy=function(){};Uy.prototype.m=function(a){var b=new qt;J(b,1,a.left);J(b,2,a.top);b.setWidth(a.width);b.setHeight(a.height);return b};Uy.prototype.l=function(a){var b=+I(a,1),c=+I(a,2),d=+I(a,3);a=a.getHeight();return null!=b&&null!=c&&null!=d&&null!=a?new Qy(b,c,d,a):null};
var Xy=function(a,b,c,d,e,f){var h=new ft;null!=b.aa()&&h.Fa(b.aa());J(h,7,f?2:1);var m=[];null!=c&&(ht(h,[c]),null!=d&&(m=d));c=b.g;null!=c&&(m=m.concat(B(c.m)));c=b.i;null!=c&&(m=m.concat(B(c.m)));c=[];d=[b.g,b.i,b.m];if(b.J)a=Vy(a,Wy(d),m,b.u),J(a,1,4),c.push(a);else for(var n=0;n<d.length;n++){var r=d[n];if(null!=r){var w=Ya(m,function(a){return a.fa()==r.sa()}),A="q"==r.sa()?b.u:null;c.push(Vy(a,r,w,A))}}gt(h,c);e&&!f&&(f=[],a=new dt,J(a,1,"call/"+e),J(a,2,1),J(a,4,"not_used"),f.push(a),N(h,
5,f));return h},$y=function(a,b,c){var d=null,e=null,f=null,h=!1,m=l(c)?c:!0;c=b.aa();var n=L(b,ct,4);if(0<n.length&&4==n[0].fa())f=Yy(a,n[0],m),d=Zy(f,"o"),e=Zy(f,"q"),f=Zy(f,"p"),h=!0;else for(var r=0;r<n.length;r++){var w=Yy(a,n[r],m);if(null==w)return null;switch(w.sa()){case "o":d=w;break;case "q":e=w;break;case "p":f=w}}b=L(b,dt,5);if(1==b.length)var A=new Ep(b[0].getChannelId(),I(b[0],2),I(b[0],3),I(b[0],4));return new Kp(d,e,f,null==c?void 0:c,h,A)},Zy=function(a,b){var c=Ya(sp(a),function(a){return a.fa()==
b});if(0==c.length)return null;var d=Ya(B(a.i),function(a){return a.fa()==b}),e=Ya(B(a.m),function(a){return a.fa()==b});return new qp(b,c,vp(a),d,a.g,void 0,void 0,e)},Vy=function(a,b,c,d){var e=new ct,f=az(b.sa())||void 0;J(e,1,f);f=y(sp(b),a.Jk,a);N(e,3,f);f=y(vp(b),a.eg,a);N(e,4,f);f=y(B(b.i),a.Kk,a);N(e,5,f);if(null!=b.g){f=b.g;b=new at;var h;a:{switch(f.nb()){case "GICE":h=1;break a;case "ICE":h=2;break a}h=void 0}J(b,1,h);J(b,4,f.i);J(b,5,f.g);f=y(B(f.m),a.g,a);N(b,6,f);M(e,2,b)}null!=d&&(b=
new Ms,-1!=d.i&&J(b,1,d.i),-1!=d.g&&J(b,2,d.g),-1!=d.m&&J(b,3,d.m),M(e,7,b));a=y(c,a.i,a);N(e,6,a);return e};Uy.prototype.i=function(a){var b=new Xs;J(b,2,a.tc);var c=new Vs;c.setHeight(a.getHeight());c.setWidth(null!=a.g?a.g.width:null);J(c,3,a.Rb);M(b,3,c);c=new Ys;M(c,2,b);a=az(a.fa())||void 0;J(c,1,a);return c};
var Wy=function(a){for(var b=[],c=[],d=[],e=0;e<a.length;e++)null!=a[e]&&(b=b.concat(sp(a[e])),c=c.concat(B(a[e].i)),d=d.concat(B(a[e].m)));return Bp(xp(up(a[0],b),c),d)},Yy=function(a,b,c){var d=bz(b.fa());if(null==d)return null;var e=cz(L(b,Os,3),a.Mk,a)||[],f=cz(L(b,Ts,4),a.Nk,a)||[],h=cz(L(b,Zs,5),t(function(a){var b=d||void 0,c=I(a,2)||"",e=a.getId();a=bz(a.fa(),b);return null!=c&&null!=e?new mp(c,e,a):null},a))||[],m=null,n=K(b,at,2);null!=n&&(m=dz(a,n,d,c));var r=[];x(L(b,Ys,6),function(a){var b=
bz(a.fa());null!=b&&(a=ez(K(a,Xs,2),b,"",""),r.push(a))},a);return new qp(d,e,f,h,m,void 0,void 0,r)},az=function(a){switch(a){case "o":return 1;case "q":return 2;case "p":return 3}},bz=function(a,b){switch(a){case 1:return"o";case 2:return"q";case 3:return"p";case 4:return"o"}return l(b)?b:null};g=Uy.prototype;
g.Jk=function(a){var b=new Os;Qs(b,az(a.fa()));J(b,1,a.g);Ps(b,a.getName());Rs(b,y(a.getParams(),function(a){var b=new Ss;J(b,1,a.g);J(b,2,a.i);return b},this));J(b,5,a.l);J(b,6,a.m);J(b,7,a.i);return b};g.Mk=function(a){var b=bz(a.fa());if(null==b)return null;var c=I(a,1),d=a.getName(),e=I(a,5),f=I(a,6),h=I(a,7);a=y(L(a,Ss,8),function(a){var b=I(a,1)||"";a=I(a,2)||"";return new Mo(b,a)},this);return null!=c&&null!=d?new No(b,c,d,null!=e?e:void 0,null!=f?f:void 0,null!=h?h:void 0,a):null};
g.eg=function(a){var b;a:{switch(a.m){case "AES_CM_128_HMAC_SHA1_32":b=2;break a;case "AES_CM_128_HMAC_SHA1_80":b=1;break a}b=null}if(null==b)return null;var c=new Ts;J(c,1,b);J(c,2,a.g);J(c,3,a.l||void 0);J(c,4,a.i);return c};g.Nk=function(a){var b;a:{switch(I(a,1)){case 2:b="AES_CM_128_HMAC_SHA1_32";break a;case 1:b="AES_CM_128_HMAC_SHA1_80";break a}b=null}if(null==b)return null;var c=I(a,2);a=I(a,3);return null!=c?new Uo(b,c,a,1):null};
g.Kk=function(a){var b=new Zs;J(b,2,a.g);var c=a.getId();J(b,1,c);a=a.fa();J(b,3,a?az(a):void 0);return b};
var dz=function(a,b,c,d){var e;a:{switch(I(b,1)){case 1:e="GICE";break a;case 2:e="ICE";break a}e=null}if(null==e)return null;d=d&&"ICE"===e?"lite":"full";var f=I(b,4)||"",h=I(b,5)||"";a=fz(a,L(b,Us,6),c);return new np(e,f,h,a,d)},fz=function(a,b,c){return cz(b,t(function(a){var b;b:{switch(I(a,1)){case 1:b=1;break b;case 2:b=2;break b}b=null}var f=I(a,6);null!=f||(f=0);var h=gz(a.sa()),m=hz(I(a,2)),n=I(a,3),r=I(a,4),w=bz(a.fa(),c);if(null!=b&&null!=h&&null!=m&&null!=n&&null!=r&&null!=w){var A=I(a,
7)||"";a=I(a,8)||0;b=new Lo(w,b,f,h,m,n,r,"",a,A)}else b=null;return b},a))||[]};Uy.prototype.g=function(a){var b=new Us,c;a:{switch(a.fc){case 1:c=1;break a;case 2:c=2;break a}c=void 0}J(b,1,c);a:{switch(a.oc){case "UDP":c=1;break a;case "TCP":c=2;break a;case "SSLTCP":c=3;break a}c=void 0}J(b,2,c);J(b,3,a.Hc);J(b,4,a.Qc);c=iz(a.sa());J(b,5,c);J(b,6,a.Mc);J(b,7,a.od);J(b,8,a.Dc);a=az(a.fa());J(b,9,a);return b};
var hz=function(a){switch(a){case 1:return"UDP";case 2:return"TCP";case 3:return"SSLTCP"}return null},iz=function(a){switch(a){case "LOCAL":return 1;case "PEER_REFLEX":return 2;case "STUN":return 3;case "RELAY":return 4}},gz=function(a){switch(a){case 1:return"LOCAL";case 2:return"PEER_REFLEX";case 3:return"STUN";case 4:return"RELAY"}return null},jz=function(a,b,c,d){var e=new vt;e.Af(2);null!=b&&e.Fa(b);e.ea(c);e.Ea(d.Y());b=az(d.fa());J(e,2,b);J(e,7,d.i);e.Bf(d.g);b=new xt;c=d.Va();J(b,1,c||[]);
a=y(B(d.m),a.Lk,a);N(b,2,a);M(e,8,b);return e},kz=function(a,b){return cz(b,a.Bk,a)||[]};g=Uy.prototype;g.Bk=function(a){var b=bz(a.fa());if(null==b)return null;var c=a.Y(),d=I(a,7),e=a.me();if(null==c||null==d||null==e)return null;var f=[],h=[];a=K(a,xt,8);null!=a&&(f=cz(I(a,1),this.gh,this)||[],h=cz(L(a,zt,2),this.Ok,this)||[]);return new Qp(b,c,d,e,f,h)};g.gh=function(a){return a>>>0};g.Lk=function(a){var b=new zt;J(b,1,a.g);a=a.Va();J(b,2,a||[]);return b};
g.Ok=function(a){var b=cz(I(a,2),this.gh)||[];a=I(a,1);return null!=a?new Pp(a,b):null};g.Ck=function(a){var b=bz(a.fa());if(null==b)return null;var c=a.Y(),d=I(a,7);if(null==c||null==d)return null;a=K(a,Xs,9);return ez(a,b,c,d)};
var ez=function(a,b,c,d){var e=!1,f=void 0,h=void 0;if(null!=a&&I(a,2)&&(e=I(a,2),null==e&&(e=void 0),null!=K(a,Vs,3))){var m=I(K(a,Vs,3),2),n=K(a,Vs,3).getHeight(),h=I(K(a,Vs,3),3);null==h&&(h=void 0);null!=m&&null!=n&&(f=new ff(m,n))}return new Ny(c,d,b,f,h,e)},cz=function(a,b,c){null!=c&&(b=t(b,c));if(null==a||!ia(a))return null;c=[];for(var d=0;d<a.length;d++){var e=a[d];if(null==e)return null;e=b(e);if(null==e)return null;c.push(e)}return c};
var lz=function(a,b,c){R.call(this,"Oa");this.sessionId=c};v(lz,R);var mz=function(a,b,c){if(null==a)return tg();a=a.then();c.dispatchEvent(new lz(0,0,b));var d=V(a.J,9E4,a);Cg(a,function(a){return a}).then(function(a){Ng(d);ya(La(b))&&(1>a.length||!(a[0]instanceof ft)?b=null:(a=a[0],b=null!=a?a.aa():null));this.dispatchEvent(new lz(0,0,b))},null,c);return a};
var nz=function(a){this.g=a};v(nz,fy);g=nz.prototype;g.Oc=function(a){return new Ex("hangout_participants/add",function(){var b=new pv;N(b,6,a);return b},function(a){return L(a,zs,5)})};g.Pc=function(a){return new Ex("hangout_participants/modify",function(){var b=new jw;N(b,4,a);return b},function(a){return L(a,zs,4)})};g.pd=function(a,b){var c=b&&b.jYdIne||0;return new Ex("hangout_participants/remove",function(){var b=new pw;N(b,7,a);J(b,5,c);return b})};
g.Id=function(a){return new Ex("hangout_participants/query",function(){var b=new mw;b.ea(a.oa());b.Ea(a.Y());return b},function(a){return[K(a,zs,2)]})};g.qd=function(a){return new Ex("hangout_participants/search",function(){var b=new qv;b.ea(a.oa());return b},function(a){return a.ee()},Ev.prototype.gl,bw.prototype.Ii)};
var oz=function(a){this.g=a};v(oz,fy);g=oz.prototype;g.Oc=function(a){return new Ex("hangouts/add",function(){var b=new iv;N(b,4,a);return b},function(a){return L(a,vs,5)})};g.Pc=function(a){return new Ex("hangouts/modify",function(){var b=new fw;N(b,4,a);return b},function(a){return L(a,vs,4)})};g.pd=function(){return null};g.Id=function(a){return new Ex("hangouts/query",function(){var b=new rv;b.ea(a.oa());return b},function(a){return[K(a,vs,2)]},Ev.prototype.hl,bw.prototype.Ki)};g.qd=function(a){return this.Id(a)};
var pz=function(a){this.g=a};v(pz,ey);pz.prototype.Oc=function(a){return new Ex("media_sessions/add",function(){var b=new wv;N(b,4,a);return b},function(a){return L(a,ft,4)})};pz.prototype.Pc=function(a){return new Ex("media_sessions/modify",function(){var b=new ww;N(b,4,a);return b},function(a){return L(a,ft,4)})};pz.prototype.pd=function(){return null};
var qz=function(a){this.g=a};v(qz,fy);g=qz.prototype;g.Oc=function(a){return new Ex("media_sources/add",function(){var b=new zv;N(b,4,a);return b},function(a){return L(a,lt,4)})};g.Pc=function(a){return new Ex("media_sources/modify",function(){var b=new Aw;N(b,4,a);return b},function(a){return L(a,lt,4)})};g.pd=function(){return null};g.Id=function(a){return new Ex("media_sources/query",function(){var b=new Dw;b.ea(a.oa());b.Ea(a.Y());var c=a.bh();J(b,4,c);return b},function(a){return[K(a,lt,2)]})}; g.qd=function(a){return new Ex("media_sources/search",t(function(){var b=new Av;b.ea(a.oa());return b},this),function(a){return L(a,lt,2)},Ev.prototype.il,bw.prototype.Ni)};
var rz=function(a){this.g=a};v(rz,fy);g=rz.prototype;g.Oc=function(a){return new Ex("media_streams/add",function(){var b=new Cv;N(b,4,a);return b},function(a){return L(a,vt,4)})};g.Pc=function(a){return new Ex("media_streams/modify",function(){var b=new Gw;N(b,4,a);return b},function(a){return L(a,vt,4)})};g.pd=function(){return null};g.Id=function(a){return new Ex("media_streams/query",function(){var b=new Jw;b.ea(a.oa());var c=a.zf();J(b,2,c);b.Fa(a.aa());c=a.dh();J(b,4,c);return b},function(a){return[a.Ha()]})}; g.qd=function(a){return new Ex("media_streams/search",t(function(){var b=new Dv;b.ea(a.oa());b.Fa(a.aa());var c=a.zf();J(b,2,c);return b},this),function(a){return L(a,vt,2)},Ev.prototype.jl,bw.prototype.Pi)};
var sz=function(){return new ly(vt,[vt.prototype.oa,vt.prototype.Hk,vt.prototype.aa],[vt.prototype.ea,vt.prototype.Af,vt.prototype.Fa],[vt.prototype.me],[vt.prototype.Bf],At,[At.prototype.oa,At.prototype.zf,At.prototype.aa],[At.prototype.ea,At.prototype.Fk,At.prototype.Fa],[At.prototype.dh],[At.prototype.Gk])};
var uz=function(a,b){return tz(a,[b],new ly(vs,[vs.prototype.oa],[vs.prototype.ea],[],[],xs,[xs.prototype.oa],[xs.prototype.ea],[],[]),oz,"qa")},tz=function(a,b,c,d,e){var f=Qw.Pa();d=new d(f.Ja.m(a,void 0));e=new ky(f.Ja.J(a),e);return new ny(a,f.Ja.g(a),b,c,d,e,f.Ja.l(a))};
var vz=function(a,b){var c=sz(),d=Qw.Pa(),e=new hy,c=new ny(a,d.Ja.g(a),b,c,e);return e.i=c};var xz=function(a,b,c,d,e){T.call(this);this.W=a;this.Z=b;this.S=this.da=this.G=this.qa=this.u=this.F=null;this.O=c;this.O.H=8;this.O.N=3E3;this.N=d;this.M=e;this.g=this.i=null;this.Ga=!1;this.K=new U(this);this.m(this.K);this.ba=new Uy;this.l="h";this.pa=[];this.U=[];this.P=[];this.H=[];this.Jb=new S;this.na=new S;this.za=new S;this.La=new D;this.va=new D;this.wa=new De;this.la=null;Xt(a);zj(a,Wt).then(function(a){var b=[a.V("mediaSessionStartTime",t(this.ya,this)),a.V("mediaUpStreams",t(this.gb,
this)),a.V("mediaDownStreams",t(this.Qa,this)),a.V("mediaPerfDataPoint",t(this.fb,this))];$c(this,function(){x(b,a.g,a)})},function(){},this);this.Ka=yg();this.Ka.i.then(function(){wz(this)},null,this)};v(xz,Fp);xz.prototype.ya=function(){return(new Date(this.Ma)).toString()};xz.prototype.gb=function(){return null!=this.i?fx(this.i):null};xz.prototype.Qa=function(){return null!=this.g?fx(this.g):null};xz.prototype.fb=function(){return null!=this.la?this.la.Da:null};
var yz=function(a,b,c,d){a.l!=b&&(a.l=b,a.dispatchEvent(new Io(b,c,d)))};xz.prototype.getState=function(){return this.l};var Az=function(a,b,c){var d=a.g,e=d.F.L();e.Fa(b);e.ea(c);c=d.start(e);zz(a);a.M.g||Cg(mz(c,b,a),function(){this.stop(16)},a)},zz=function(a){a.M.g||null!=a.pa&&zx(a.g,t(function(a){return z(this.pa,a.Y()||"")},a))};
xz.prototype.cc=function(a){if("h"!=this.l)return!1;this.Ga=null!=a;a=a||"";null==this.g&&(this.M.g?this.g=vz(this.W,[a,1,""]):(this.g=tz(this.W,[a,1,""],sz(),rz,"va"),J(this.g.config,7,8),J(this.g.config,8,3E3),this.K.listen(this.g,"Ea",this.Ba),this.K.listen(this.g,"Da",this.ub)),this.m(this.g),bx(this.g),this.K.listen(this.g,"Ca",this.Kb));yz(this,"i");return!0};xz.prototype.start=function(a){this.Fa(a);yz(this,"k");this.La.ma();return!0};
xz.prototype.Zd=function(a,b,c,d,e){switch(this.l){case "h":return;case "m":case "n":return}null==this.u&&(this.u=a,this.G=b,this.da=c,this.qa=d,this.S=e,this.Ma=u(),this.ua=Bz(),this.va.ma(),this.La.V(this.Na,this))};
xz.prototype.Na=function(){var a=this.F,b=this.u;null==this.i&&(this.M.g?this.i=vz(this.W,[b,2,a]):(this.i=tz(this.W,[b,2,a],sz(),rz,"va"),J(this.i.config,7,8),J(this.i.config,8,3E3),this.K.listen(this.i,"Ea",this.Ba),this.i.start()),this.K.listen(this.i,"Ca",this.Cb),this.m(this.i));Cz(this,this.F,this.u,this.U);fb(this.U);Az(this,this.F,this.u);0<this.P.length&&(Dz(this,this.P),fb(this.P));Ez(this,[])};
var Fz=function(a,b){a.pa=b;null!=a.g&&wx(a.g);a.M.g&&a.va.V(function(){var a=Ya(b,function(a){return a!=this.G},this);if(1!=a.length)1<a.length&&this.stop(51);else{var d=new vt([1,1,this.F,"8579373",this.u,a[0],"1",[[8579373],[]]]),a=new vt([1,2,this.F,"8579374",this.u,a[0],"2",[[8579374,8579375],[["FID",[8579374,8579375]]]]]);this.g.add(d);this.g.add(a)}},a)};xz.prototype.qc=function(){this.i&&this.i.bc();this.g&&this.g.bc()};xz.prototype.Ca=function(){this.na.clear()};
xz.prototype.stop=function(a,b){if("m"==this.l)return!1;null==this.aa()||"i"!=this.l&&"k"!=this.l||(ad(this.i),this.i=null,ad(this.g),this.g=null);yz(this,"m",a,b);return!0};
var Gz=function(a,b){var c=a.aa(),d=a.u,e=a.G,f=a.da;null!=c&&null!=d&&(b.ea(d),null!=a.Z&&J(b,1,a.Z),null!=e&&b.Ea(e),null!=f&&J(b,14,f),d=B(a.N.g),J(b,11,d||[]),J(b,12,a.N.i),J(b,18,a.N.m),a.S&&J(b,16,a.S),Ly(a.O,b,c))},Iz=function(a,b,c,d){var e=a.aa(),f=a.u;null!=e&&null!=f&&Hz(a,e,f,d,b,c).then(function(){this.dispatchEvent("ba")},null,a)},Bz=function(){return window.performance&&window.performance.now?window.performance.now():u()},wz=function(a){a.J||"m"==a.l||"n"==a.l||V(function(){var a=this.aa(),
c=this.O,d=new xv;d.setRequestHeader(Jy(c));d.Fa(a);Ky(c,"media_sessions/query",d).then(c.l,null,c).then(this.Hb,this.Db,this)},1E4,a)};xz.prototype.Hb=function(a){this.J||null==a||(a=$y(this.ba,a,!this.M.g),null!=a&&(this.dispatchEvent(new bq(a)),wz(this)))};xz.prototype.Db=function(a){if(!this.J)switch(a.status){case 4:case 5:case 7:this.stop(15);break;case 11:this.stop(41);break;default:wz(this)}};
var Jz=function(a,b){null!=Vn(b)&&(b=b.L(),x(Vn(b),function(a){if(2==I(a,1)){var b=I(a,53)[0]>>>0,b=this.za.get(b);null!=b&&(J(a,78,b.width),J(a,79,b.height))}},a));return b},Hz=function(a,b,c,d,e,f){if(null==d&&null==e)return tg("Nothing to upload");var h=new Qn;J(h,2,a.ya());var m=-2;null!=a.ua&&(m=(Bz()-a.ua)/1E3,m=Math.round(m));J(h,3,m);null!=a.qa&&J(h,4,a.qa);null!=b&&J(h,1,b);null!=e&&J(h,29,e);null!=f&&J(h,30,f);null!=d&&N(h,5,[d]);d=new Fo;M(d,4,h);d.ea(c);null!=a.G&&d.Ea(a.G);null!=a.da&&
J(d,14,a.da);null!=a.Z&&J(d,1,a.Z);c=B(a.N.g);J(d,11,c||[]);J(d,12,a.N.i);J(d,18,a.N.m);a.S&&J(d,16,a.S);return Ly(a.O,d,b)},Kz=function(a,b){switch(a.l){case "h":case "i":mb(a.U,b);return;case "m":case "n":return}var c=a.aa(),d=a.u;null!=c&&(null!=d?Cz(a,c,d,b):mb(a.U,b))},Cz=function(a,b,c,d){x(d,function(a){a=Rp(a,this.G);var d=jz(this.ba,b,c,a),d=mz(this.i.add(d),b,this);"p"!=a.fa()&&Cg(d,function(){this.stop(16)},this)},a)};xz.prototype.aa=function(){return this.F};
xz.prototype.Fa=function(a){this.F!=a&&(this.F=a,this.Ka.g())};xz.prototype.Xb=function(a){switch(this.l){case "h":case "i":this.H=lb(a,this.H);return;case "m":case "n":return}null!=this.aa()&&null!=this.u&&Ez(this,a)};
var Ez=function(a,b){var c=B(b);x(a.H,function(a){null!=cb(c,t(a.Yk,a),this)||c.push(a)},a);fb(a.H);var d=a.g.get();x(c,function(a){var b=db(d,t(this.ob,this,a),this);if(null!=b){var c=b.me(),m=this.na.get(c),n;(n=null==m)||(n=m.tc!=a.tc||m.Rb!=a.Rb)||(m=Oy(m),n=Oy(a),n=null!=m||null!=n?null!=m&&null!=n?m.width!=n.width||m.height!=n.height:!0:!1);if(n){m=a;if("m"!=this.l&&"n"!=this.l){this.wa.contains(m.Y())&&(m=m.Ac(""));n=b.me();var r=this.Jb.get(n);if(null!=r)r.next=m;else{var w=m.tc;if(!Oy(m)||
0>=Oy(m).height||0>=Oy(m).width||0>=m.Rb)w=!1;var A=this.aa(),F=this.u,r=m,O=w,w=new vt;w.Af(1);w.Fa(A);w.ea(F);w.Ea(r.Y());A=az(r.fa());J(w,2,A);J(w,7,r.i);A=new Xs;J(A,1,!0);J(A,2,O);O=Oy(r);null!=O&&(F=new Vs,F.setHeight(O.height),F.setWidth(O.width),J(F,3,r.Rb),M(A,3,F));M(w,9,A);w.Bf(n);n=K(b,xt,8);M(w,8,n);jx(this.g,w);m=Oy(m);null!=m&&null!=K(b,xt,8)&&null!=I(K(b,xt,8),1)&&(b=I(K(b,xt,8),1)[0]>>>0,null!=b&&this.za.set(b,m))}}this.na.set(c,a)}}else this.H.push(a)},a)};
xz.prototype.ob=function(a,b){return a.Y()==b.Y()&&az(a.fa())==b.fa()&&a.i==I(b,7)};xz.prototype.Kb=function(a){null!=a.Cc&&0<a.Cc.length&&Dz(this,a.Cc);null!=a.removed&&0<a.removed.length&&Lz(this,a.removed)};xz.prototype.ub=function(a){var b=a.zb?a.zb.length:0;this.Ga&&0!=b&&("k"==this.l?Dz(this,a.zb):"i"==this.l&&(this.P=lb(this.P,a.zb)))};
var Dz=function(a,b){var c=Mz(a,b);null!=c&&0!=c.length&&(c=Ya(c,function(a){return a.Y()!=this.G},a),0<a.H.length&&a.Xb([]),x(c,function(){},a),a.dispatchEvent(new Hp(c,[])))},Lz=function(a,b){var c=Mz(a,b);null!=c&&0!=c.length&&(x(c,function(){},a),a.dispatchEvent(new Hp([],c)))},Mz=function(a,b){var c=kz(a.ba,b);return c=y(c,function(a){""==a.i&&("o"==a.fa()?a=a.Ac("1"):"q"==a.fa()?a=a.Ac("2"):"p"==a.fa()&&(a=a.Ac("3")),this.wa.add(a.Y()));return a},a)};
xz.prototype.Cb=function(a){if(ia(a.removed)&&0<a.removed.length)0==this.i.get().length&&yz(this,"m",26);else if(ia(a.zb)&&0<a.zb.length){var b=this.ba;a=cz(a.zb,b.Ck,b)||[];null!=a&&0!=a.length&&this.dispatchEvent(new Ip(a))}};xz.prototype.Ba=function(a){this.stop(a.g)};
var Nz=function(a){Hy.call(this,a)};v(Nz,Hy);Qj(Nz,Hy);Nz.prototype.fh=function(a){var b=wu(this.Ia),c=new Iy(b.i,I(b,6),I(b,2),I(b,5),void 0,I(b,1)),d=this.Ia,e=I(b,6),b=new pu(I(b,14),I(b,8)||!1,!!I(b,16));a=new xz(d,e,c,b,a);a.m(c);return a};var Oz=function(){};var Pz=function(a){this.g=a;Yj(this)},Qz=function(a){var b=new Ko(-1,-1,-1);a.Ja.m(b);return b},Rz=function(){};v(Rz,Oj);Pj(Rz,Pz);Rz.prototype.m=Wj();var Sz=function(){this.l=this.i=this.m=null;this.g=[]},Tz=new Se("zpWlX"),Uz=function(a){a.i[Tz]||a.l[Tz]||Xi(a,Tz,new Sz)},Vz=function(a){this.g=null;zj(a.g,Tz).then(function(a){this.g=a},null,this)};v(Vz,Rz);Qj(Vz,Rz);Vz.prototype.m=function(a){null!=this.g&&(null!==this.g.m&&(a.i=this.g.m),null!==this.g.i&&(a.g=this.g.i),null!==this.g.l&&(a.m=this.g.l))};
var Xz=function(a,b,c){U.call(this);this.H=a;this.g=b;this.Mb=c;this.i=this.l=!1;this.K=new Uy;this.listen(this.Mb.g,["Ka","La","Ma","Na"],this.u);this.g.onConnect.then(this.u,null,this);Wz(this.H,c)};v(Xz,U);Xz.prototype.X=function(){Yz(this.H,this.Mb);Xz.ha.X.call(this)};
Xz.prototype.u=function(){this.J||(this.i?this.l=!0:(this.l=!1,this.i=!0,wg([this.g.l,this.g.tb,this.g.F]).then(function(a){var b=a[0],c=a[1];a=a[2];var d=this.K,e=this.Mb.g,f=new lt;f.ea(b);f.Ea(e.Y());f.yf(e.getId());var h=az(e.sa());J(f,4,h);var h="La"==e.getState(),m=new mt;M(f,5,m);m=K(f,mt,5);J(m,1,h);if("o"==e.sa())null!=e.Nd&&(d=new rt,J(d,2,e.Nd),e=e.Y(),J(d,1,e),M(f,8,d));else if("q"==e.sa()){h=new pt;M(f,7,h);h=K(f,pt,7);a:{switch(e.hb()){case "Ga":m=1;break a;case "Ha":m=2;break a}m=void 0}J(h, 1,m);h=e.l();null!=h&&(e=K(f,pt,7),d=y(h,d.m,d),N(e,3,d))}f.ea(b);f.Ea(c);f.yf(this.Mb.g.getId());a.add(f).then(this.G,this.G,this)},this.G,this)))};Xz.prototype.G=function(){this.i=!1;this.l&&this.u()};
var $z=function(a){H(this,a,"hc:rc",-1,Zz)};v($z,E);var Zz=[7];$z.prototype.L=function(){return P(this)};Q("hc:rc",$z);$z.prototype.getTime=function(){return I(this,1)};var aA=function(a,b){J(a,2,b)};$z.prototype.oa=function(){return I(this,3)};$z.prototype.ea=function(a){J(this,3,a)};var bA=function(a,b){J(a,4,b)},cA=function(a,b){J(a,5,b)},dA=function(a,b){J(a,8,b)},eA=function(a,b){J(a,11,b)},fA=function(a){H(this,a,0,-1,null)};v(fA,E);fA.prototype.L=function(){return P(this)};
var gA=function(){this.i=-1};var hA=function(){this.i=-1;this.i=64;this.g=Array(4);this.J=Array(this.i);this.l=this.m=0;this.reset()};v(hA,gA);hA.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.l=this.m=0};
var iA=function(a,b,c){c||(c=0);var d=Array(16);if(p(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];var e=a.g[2],f=a.g[3],h=0,h=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&
(f^b))+d[3]+3250441966&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(h<<12&4294967295|h>>>20);h=
e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(h<<5&4294967295|
h>>>27);h=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(h<<20&4294967295|
h>>>12);h=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(h<<14&4294967295|
h>>>18);h=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^
b^c)+d[7]+4139469664&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[12]+3873151461&4294967295;
f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[13]+1309151649&4294967295;
c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
hA.prototype.update=function(a,b){l(b)||(b=a.length);for(var c=b-this.i,d=this.J,e=this.m,f=0;f<b;){if(0==e)for(;f<=c;)iA(this,a,f),f+=this.i;if(p(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.i){iA(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.i){iA(this,d);e=0;break}}this.m=e;this.l+=b};
hA.prototype.digest=function(){var a=Array((56>this.m?this.i:2*this.i)-this.m);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;for(var c=8*this.l,b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};
var jA=function(a){this.m=new fk;this.Qb=wu(a);By(a);this.J=yg();this.Rg=this.J.i;this.i=null;this.g=!1;this.Td=[];this.je=this.l=!1},kA=new Se("RLVxEf"),lA=function(a){a.i[kA]||a.l[kA]||Xi(a,kA,new jA(a))},nA=function(a){a.je||mA(a);return a.i||!1},pA=function(a,b){a.je=!0;a.i=b;x(a.Td,function(a){oA(a.g,b)},a);null===a.g||mA(a,nA(a))};jA.prototype.ij=function(a){qA(this,a);rA(this,a)};jA.prototype.Og=function(a){rA(this,a);jb(this.Td,a)};
var mA=function(a,b){a.je=!0;a.g=null;var c=yg();c.i.then(t(a.F,a),t(a.u,a,b));var d=I(a.Qb,10);if(null!=d){null!=b&&(d=gh(d,"set",String(b)));var e=bl($k);e.open("GET",d,!0);e.onreadystatechange=function(){4==e.readyState&&(200==e.status?c.g(e.responseText):c.m(null))};e.send(null)}else c.m(null)};jA.prototype.F=function(a){this.g="true"==a;sA(this)};jA.prototype.u=function(a){this.g=l(a)?a:nA(this);sA(this)};
var sA=function(a){a.J.g();null===a.i&&(a.i=a.g,x(a.Td,function(a){oA(a.g,nA(this))},a));a.g!=a.i&&mA(a,nA(a))},qA=function(a,b){if(!a.l){a.l=!0;var c=tA(a);null!=c&&(null!=I(c,8)&&3456E5>u()-c.getTime()&&uA(a,c),c.oa()==b.l.get()&&6E4>u()-c.getTime()&&a.Rg.then(function(){nA(this)&&x(L(c,fA,7)||[],function(a){I(a,2);c.oa()},this)},void 0,a))}},vA=function(a,b){var c=a+b,d=new hA;d.update(c,c.length);return String.fromCharCode.apply(String,d.digest())},uA=function(a,b){if(null!=I(b,4)&&null!=I(b,
5)&&null!=I(b,6)&&0!=(L(b,fA,7)||[]).length){var c=new Iy(a.Qb.i,I(b,11)||I(b,6),I(b,4),I(b,5)||0,void 0,I(b,9)||I(a.Qb,1));x(L(b,fA,7),function(a){var e=new Qn,f=(new Date(b.getTime())).toString();J(e,2,f);f=I(b,8);J(e,30,f);J(e,3,-2);f=I(a,1);J(e,1,f);f=new Fo;M(f,4,e);f.ea(b.oa());e=I(this.Qb,14);J(f,11,e||[]);e=I(this.Qb,8);J(f,12,e);e=I(b,6);J(f,14,e);e=I(b,10);J(f,16,e);Ly(c,f,I(a,1),!0)},a)}},tA=function(a){if(!ek(a.m))return null;var b=a.m.get("report_luak");a.m.remove("report_luak");if("hc:rc"!=
Hc(b||"[]")[0])return null;b=new $z(Hc(b));return I(b,2)==vA(I(a.Qb,7),b.getTime())?b:null},rA=function(a,b){if(ek(a.m)){var c=new $z;c.ea(b.l.get());var d=u();J(c,1,d);aA(c,vA(I(a.Qb,7),d));bA(c,I(a.Qb,2));cA(c,I(a.Qb,5));J(c,6,b.Z);eA(c,I(a.Qb,6));var e=[];Ab(wA(b.g),function(a,b){var c=new fA;J(c,1,a);J(c,2,b);e.push(c)});0!=e.length&&(N(c,7,e),b.onDisconnect.g&&dA(c,b.onDisconnect.get()),a.m.set("report_luak",c.wb()))}};
var xA=function(){this.g=!1;this.i=yg();this.m=null};xA.prototype.then=function(a,b,c){return this.i.i.then(a,b,c)};lg(xA);xA.prototype.get=function(){return this.m};var yA=function(){this.g=new xA},zA=function(a,b){a.g.g||(a.g.g=!0,a.g.m=b,a.g.i.g(b))},AA=function(a,b){a.g.g||(a.g.g=!0,a.g.i.m(b))};
var BA=function(){T.call(this);this.g=[]};v(BA,T);BA.prototype.add=function(a,b){if(null!=CA(this,a.sa(),a.getId(),a.Y()))return!1;this.g.push(a);if(!l(b)||b)a.Aa=this;this.dispatchEvent("Pa");return!0};BA.prototype.remove=function(a){return jb(this.g,a)?(a.Aa==this&&(a.Aa=null),this.dispatchEvent("Qa"),!0):!1};var CA=function(a,b,c,d){return cb(a.g,function(a){var f=a.sa()==b,h=null==c||a.getId()==c;a=null==d||a.Y()==d;return f&&h&&a})};
var DA=function(){T.call(this)};v(DA,T);var EA=function(a,b){R.call(this,a);this.g=b};v(EA,R);EA.prototype.Y=function(){return this.g};var FA=function(a,b,c,d){T.call(this);this.M=new Uy;this.i=a;this.K=b;this.H=d;this.g=new S;this.G=new BA;this.l=new U(this);this.m(this.l);this.l.listen(this.K,"Ca",this.u);this.l.listen(this.H,["fa","I"],this.u);x(c,this.F,this)};v(FA,DA);FA.prototype.F=function(a){this.G.add(a)};
var GA=function(a,b){return b==a.i?a.G:a.g.get(b,null)},HA=function(a,b){var c=new De;x(b,function(a){if(a!=this.i&&(c.add(a),!ue(this.g.i,a))){var b=new BA;this.g.set(a,b);this.dispatchEvent(new EA("Ra",a))}},a);x(a.g.Ta(),function(a){c.contains(a)||(this.g.get(a),this.g.remove(a)&&this.dispatchEvent(new EA("Sa",a)))},a);a.u()};
FA.prototype.u=function(){var a=new De;x(this.K.get(),function(b){var c=this.g.get(b.Y());if(null!=c){var d=this.M,e=b.Y(),f=b.xf(),h=bz(b.fa()),m="Ia",n;if(null!=K(b,pt,7)){a:{switch(I(K(b,pt,7),1)){case 1:m="Ga";break a;case 2:m="Ha";break a}m="Ia"}n=cz(L(K(b,pt,7),qt,3),d.l,d)||void 0}var r;null!=K(b,rt,8)&&(r=Rc(K(b,rt,8),2),r=q(r)?r:void 0);var d=K(b,mt,5)&&I(K(b,mt,5),1)?"La":"Ka",w=null;null!=e&&null!=f&&null!=h&&(w=new Ty(e,f,h,null!=m?m:void 0,d,r,n));null!=K(b,mt,5)&&I(K(b,mt,5),2);null!=
K(b,nt,6)&&I(K(b,nt,6),1);f=w;null!=f&&(e=CA(c,f.sa(),f.getId(),f.Y()),null!=e?(c=f.hb(),e.Gf!=c&&(e.Gf=c,e.dispatchEvent("Ka")),c=f.Nd,e.Nd!=c&&(e.Nd=c,e.dispatchEvent("La")),e.Ra(f.getState()),c=f.l(),Sy(e,c)&&e.dispatchEvent("Na")):c.add(f))}a.add(IA(b.Y(),b.xf()))},this);x(JA(this.H),function(b){var c=b.Y(),d=b.u;if(c!=this.i&&!a.contains(c+"/"+d)){b=b.getInfo().fa();var e=this.g.get(c);null!=e&&!CA(e,b,d,c)&&e.add(new Ty(c,d,b));a.add(c+"/"+d)}},this);x(this.g.xa(),function(b){x(B(b.g),function(c){a.contains(IA(c.Y(), c.getId()))||b.remove(c)},this)},this)};var IA=function(a,b){return a+"/"+b};
var KA=function(){T.call(this)};v(KA,T);var LA=function(a){R.call(this,"Ta");this.g=B(a)};v(LA,R);var NA=function(){Zc.call(this);this.i=[];this.g=new MA(t(this.l,this));this.m(this.g)};v(NA,Zc);NA.prototype.refresh=function(){OA(this.g)};NA.prototype.l=function(a){x(this.i,function(b){a=b.filter(a)});return a};var MA=function(a){T.call(this);this.u=a;this.i=[];this.g=!1};v(MA,KA);var PA=function(a,b){a.i=B(b);OA(a)},OA=function(a){a.g||(a.g=!0,jg(a.l,a))};MA.prototype.l=function(){this.g=!1;this.dispatchEvent(new LA(this.u(this.i)))};
var QA=function(a,b,c,d,e,f){T.call(this);this.O=a;this.N=f;this.K=b;this.G=c;this.F=d;this.H=e;this.u=this.g=null;this.i=new U(this);this.m(this.i);this.l(new cq([]))};v(QA,T);QA.prototype.Y=function(){return this.O};var RA=function(a,b){null!=b&&(a.i.listen(b,"Ma",a.P),a.i.listen(b,["Ka","La","Na"],a.M));a.g!=b&&(a.g=b,a.dispatchEvent("Ua"))};QA.prototype.Ha=function(){return this.u};
QA.prototype.l=function(a){this.i.removeAll();var b=GA(this.F,this.Y());this.i.listen(this.F,null!=b?"Sa":"Ra",this.l);b=GA(this.F,this.Y());if(null!=b){for(var c=B(b.g),d=this.g,e=null,f=0;f<c.length&&(this.N!=c[f].sa()||null!=this.G&&this.G!=c[f].hb()||null!=this.K&&this.K!=c[f].getId()||(e=c[f],e!=d));f++);RA(this,e);this.i.listen(b,null!=e?"Qa":"Pa",this.l)}else RA(this,null);b=this.g;null!=b?(a=this.H.Ha(b,a instanceof cq?a.sessionId:void 0),this.u!=a&&(this.u=a,this.dispatchEvent("Va")),this.i.listen(this.H, "fa",this.l)):null!=this.u&&(this.u=null,this.dispatchEvent("Va"))};QA.prototype.M=function(a){this.dispatchEvent(a)};QA.prototype.P=function(a){this.l(a);this.dispatchEvent("Wa")};
var SA=function(a,b,c,d,e){QA.call(this,a,b,c,d,e,"o")};v(SA,QA);var TA=function(a,b){var c=a.g;Go.call(this,c.Y(),c.getId(),b);this.l=a};v(TA,Go);var UA=function(a,b){T.call(this);this.l=a;this.i=b;this.g=new U(this);this.m(this.g)};v(UA,T);var VA=function(a,b){R.call(this,"ab");this.tb=a;this.data=b};v(VA,R);var WA=function(a){R.call(this,"bb");this.data=a};v(WA,R);var XA=function(a,b,c){var d=yg();try{null!=c&&ma(c)&&c(a),zj(a,b).then(function(a){d.g(a)},function(a){d.m(a)})}catch(e){d.m(e)}return d.i};var YA=function(a,b,c,d){Vp.call(this);this.wa=XA(a,St,Ut);this.u=new U(this);this.m(this.u);this.g=b;this.m(this.g);this.u.listen(this.g,"K",this.Na);this.u.listen(this.g,"N",this.Wk);this.u.listen(this.g,"L",this.Rj);this.u.listen(this.g,"M",this.Lj);this.u.listen(this.g,"P",this.Nj);this.u.listen(this.g,"O",this.Mj);this.u.listen(this.g,"I",this.Sg);this.u.listen(this.g,"R",this.zk);this.i=c;this.m(this.i);this.u.listen(this.i,"I",this.Yg);this.u.listen(this.i,"T",this.fk);this.u.listen(this.i,
"Y",this.Xk);this.u.listen(this.i,"ba",this.La);this.u.listen(this.i,"V",this.Ma);this.u.listen(this.i,"U",this.Qa,!0);this.da="";this.va=!1;this.na=[];this.pa=new D;this.Ga=new D;this.l=d;this.ba={};this.G=this.N=null;this.O=new S;this.H=null;this.W=new Vk(20);this.F=this.U=null;u();u();this.P=!0;this.M=this.Ka=!1;this.ya=0;a=a.i[vu]||a.l[vu]?K(wu(a),ou,19)||new ou:new ou;this.Z=void 0;this.ua=new So(a);this.u.listen(this.ua,"J",this.kj);this.S=yg();this.qa=this.K=null};v(YA,Vp);
var ZA=new ff(1280,720);g=YA.prototype;g.cc=function(){if("h"!=this.getState())return!1;Yp(this,"i",void 0,void 0);if(null==this.g.Ld()||!this.g.cc())return!1;this.g.oh(this.l.T);this.l.l&&this.l.m&&this.g.Md();return this.i.cc(null!=this.l.i&&0<this.l.J.length?this.l.i:null)?!0:!1};
g.start=function(a){this.va=!0;if("h"==this.getState()&&!this.cc())return!1;a.l&&(this.da=a.l.getChannelId()||"");var b=a.g;null!=b&&(a=Mp(a,Dp(b)),this.na=sp(b),this.dispatchEvent(new dq));b=a.aa();if(null==b)return this.stop(16),!1;this.H=a;this.Fa(b);this.i.start(b);this.g.start(a);Yp(this,"j",void 0,void 0);var c=a;a=null!=c.g&&null!=c.g.g?B(c.g.g.m):[];b=null!=c.i&&null!=c.i.g?B(c.i.g.m):[];c=null!=c.m&&null!=c.m.g?B(c.m.g.m):[];a=lb(a,b,c);0<a.length&&this.g.Df(a);$A(this);aB(this);this.pa.ma();
return!0};g.qc=function(){this.i.qc();this.g.qc()};g.Zd=function(a,b,c,d,e){this.g.ea(a);this.g.connect();this.i.Zd(a,b,c,d,e);this.pa.V(function(){var a=this.g.Ff();Gz(this.i,a)},this)};
g.stop=function(a,b){if("m"==this.getState()||"n"==this.getState())return!0;this.u.T(this.g,"I",this.Sg);this.u.T(this.i,"I",this.Yg);this.u.T(this.N,"Ta",this.za);this.u.T(this.G,"Ta",this.Ba);var c;if(c=this.l.m)a:switch(a){case 3:case 10:case 102:case 13:case 58:case 19:case 15:case 16:case 17:case 23:case 26:case 28:case 29:case 32:case 33:case 34:c=!0;break a;default:c=!1}c&&this.g.Md();Ng(this.F);this.F=null;this.g.stop(a);this.i.stop(a,b);Yp(this,"m",a,b);Bg(Og(2E3),this.S.g,this.S);return!0};
g.X=function(){this.stop(this.va?6:72);Bg(this.S.i,T.prototype.X,this)};
var bB=function(a,b){switch(a.getState()){case "m":case "n":return!1}var c=b.g.getId();if(null!=a.ba[c])return b.Th(),!1;var d=a.g.nh(b);if(null==d)return!1;"q"==b.g.sa()&&a.pa.V(function(){var a=[];if(this.l.g){var b=this.H.i;null!=b&&(a=B(b.m))}else a.push(new Ny("","","q",ZA,30,!0,this.aa()||void 0));0<a.length&&(null!=this.G?PA(this.G,a):this.g.ed(a))},a);d=d.Ac(c);Kz(a.i,[d]);d=b.jg(Wp(a),d);a.ba[c]=d;a.dispatchEvent(new cq([d]));return!0},cB=function(a,b){a.l.g&&2<b.length?a.stop(51):Fz(a.i,
b)},fB=function(a,b){b=Ya(b,function(a){return null==dB(this,new Ty(a.Y(),a.i,a.fa()))},a);null!=a.N?PA(a.N,b):(a.i.Xb(b),eB(a.g,b))},gB=function(a,b){for(var c=0;c<b.length;c++)if(null!=b[c].Va())for(var d=b[c].Va(),e=0;e<d.length;e++){var f=d[e];null===f||a.O.set(f,0)}};YA.prototype.za=function(a){gB(this,a.g);this.i.Xb(a.g);eB(this.g,a.g)};YA.prototype.Ba=function(a){a=Ya(a.g,function(a){a=a.aa();return!(null!=a&&this.aa()!=a)},this);0!=a.length&&(gB(this,a),this.g.ed(a))};
YA.prototype.Xb=function(a){switch(this.getState()){case "m":case "n":return!1}fB(this,a);return!0};YA.prototype.Ha=function(a){var b=dB(this,a);return null!=b?b:this.g.vg(a)};var dB=function(a,b){var c=a.ba[b.getId()];return null==c||b.sa()!=c.l.g.sa()||b.Y()!=c.Y()&&""!=b.Y()?null:c};YA.prototype.aa=function(){return this.i.aa()};var Wp=function(a){return a.g.aa()};g=YA.prototype;
g.Wk=function(a){switch(this.getState()){case "h":return;case "m":case "n":return}x(a.g,function(a){2==a.fc||this.l.g&&"UDP"!=a.oc||(a.pe="o",0>bb(this.W.xa(),function(c){return c==a?!0:c&&a?c.pe===a.pe&&c.fc===a.fc&&c.Mc===a.Mc&&c.Cf===a.Cf&&c.oc===a.oc&&c.Hc===a.Hc&&c.Qc===a.Qc&&c.hd===a.hd&&c.Dc===a.Dc&&c.od===a.od&&c.uc===a.uc&&c.vc===a.vc:!1})&&this.W.add(a))},this);null==this.U&&(this.U=V(function(){this.Ga.V(this.dl,this);this.U=null},500,this))};
g.dl=function(a){this.dispatchEvent(new eq(this.W.xa(),a))};g.kj=function(a){this.dispatchEvent(new aq(a.id))};
g.Nj=function(a){if(null!=a.g){var b=Vn(a.g);if(null!=b)for(var c=0;c<b.length;c++){var d=b[c];if(null!=d&&2==I(d,1)){var e=null!=I(d,65)?I(d,65):0;if(null!=I(d,25)&&null!=this.O.get(I(d,25)))e|=this.O.get(I(d,25));else if(null!=I(d,53))for(var f=I(d,53),h=0;h<f.length;h++)if(null!=f[h]&&null!=this.O.get(f[h])){e|=this.O.get(f[h]);break}J(d,65,e)}}this.Z=a.g;this.P||(this.P="l"!=this.getState());this.P&&0>=--this.ya&&(this.ya=1,b=this.i,c=a.g,d=b.aa(),e=b.u,null!=d&&null!=e&&(c=Jz(b,c),b.la=c,Hz(b,
d,e,c)),this.Z=void 0,this.P="l"!=this.getState());a:if(b=this.ua,a=Vn(a.g),null!=a){for(c=0;c<a.length;++c)if(0==I(a[c],24)&&2==I(a[c],1)&&(0==I(a[c],57)||0==a[c].getHeight())){b.u=Ro(b.g);break a}for(c=0;c<a.length;++c)switch(I(a[c],24)){case 2:d=b,e=a[c],0<d.u?--d.u:(e=I(e,40),f=void 0,f=d.g,f=null==I(f,1)?6E4:I(f,1),e<f?d.i||(++d.l,e=d.l,f=void 0,f=d.g,f=null==I(f,2)?1:I(f,2),e>=f&&(d.dispatchEvent(new To(0)),d.i=!0)):(d.i&&(d.dispatchEvent(new To(1)),d.i=!1),d.l=0))}}this.dispatchEvent(new Zp)}};
g.Mj=function(a){Iz(this.i,a.m,a.g,this.Z)};g.Lj=function(a){"transport writable"==a.message?(this.Ka=!0,this.M||V(this.aj,1E4,this),this.dispatchEvent(new cq([],Wp(this))),aB(this)):"render first video frame"==a.message?(this.M=!0,aB(this)):"transport not writable"==a.message&&(this.l.g?this.stop(10):this.qc())};g.aj=function(){this.M||(this.M=!0,aB(this))};var aB=function(a){"j"==a.getState()&&a.Ka&&a.M&&Yp(a,"k",void 0,void 0)};
YA.prototype.Na=function(a){this.da&&this.da==a.tb?this.dispatchEvent(new WA(a.payload)):this.dispatchEvent(new VA(a.tb,a.payload))};var $A=function(a){a.g.Rh()&&(a.F=V(a.$i,5E3,a))};g=YA.prototype;g.Rj=function(a){null!=this.F&&(u(),a.g||a.m)&&(Ng(this.F),this.F=null,$A(this))};g.$i=function(){u();this.dispatchEvent(new $p(this.aa()));$A(this)};g.Sg=function(a){if("m"==this.g.getState()){switch(this.getState()){case "h":Yp(this,"m",a.g,a.m);return;case "m":return}this.stop(a.g,a.m)}};
g.fk=function(a){switch(this.getState()){case "h":return;case "m":case "n":return}0<a.g.length&&this.g.Df(a.g)};g.Yg=function(a){if("m"==this.i.getState()){switch(this.getState()){case "h":return;case "m":return}this.stop(a.g,a.m)}};
g.zk=function(a){if(a.g){if(null!=this.K){var b=u()-this.qa;Ng(this.K);this.K=null;this.wa.then(function(a){a.i(3062,this.aa()||void 0,void 0,void 0,void 0,b)},null,this)}}else null==this.K&&(this.qa=u(),this.K=V(t(this.stop,this,10),4E4),this.wa.then(function(a){a.i(3061)},null,this))};g.Xk=function(a){this.dispatchEvent(a)};g.Fa=function(a){null!=a&&null==this.i.aa()&&(this.i.Fa(a),this.Ga.ma(a))};
var hB=function(a,b){var c;if(null!=a||null!=b)if(null!=a&&null!=b){a:{c=sp(a);var d=sp(b);if(c.length!=d.length)c=!0;else{for(var e=0;e<c.length;e++){var f=c[e],h=d[e];if(f.g!=h.g||f.getName()!=h.getName()||f.l!=h.l||f.m!=h.m||f.i!=h.i){c=!0;break a}}c=!1}}if(!c)a:if(c=vp(a),d=vp(b),c.length!=d.length)c=!0;else{for(e=0;e<c.length;e++)if(f=c[e],h=d[e],f.m!=h.m||f.g!=h.g||f.l!=h.l||f.i!=h.i){c=!0;break a}c=!1}if(!c)a:if(c=B(a.i),d=B(b.i),c.length!=d.length)c=!0;else{for(e=0;e<c.length;e++)if(f=c[e],
h=d[e],f.g!=h.g||f.getId()!=h.getId()){c=!0;break a}c=!1}if(!c)if(c=a.g,d=b.g,null==c&&null==d)c=!1;else{if(!(e=null==c||null==d||c.nb()!=d.nb()||c.i!=d.i||c.g!=d.g))a:if(c=B(c.m),d=B(d.m),c.length!=d.length)e=!0;else{for(e=0;e<c.length;e++)if(f=c[e],h=d[e],f.fa()!=h.fa()||f.fc!=h.fc||f.Mc!=h.Mc||f.sa()!=h.sa()||f.oc!=h.oc||f.Hc!=h.Hc||f.Qc!=h.Qc||f.hd!=h.hd||f.Dc!=h.Dc||f.od!=h.od||f.uc!=h.uc||f.vc!=h.vc){e=!0;break a}e=!1}c=e?!0:!1}}else c=!0;else c=!1;return c};
YA.prototype.La=function(){"m"==this.getState()&&(Yp(this,"n",void 0,void 0),this.S.g())};YA.prototype.Qa=function(a){switch(this.getState()){case "h":return;case "m":case "n":return}a=this.g.gg(a.Cc,a.removed);0<a.length&&this.dispatchEvent(new cq(a))};YA.prototype.Ma=function(a){switch(this.getState()){case "h":return;case "m":case "n":return}a=a.g;null!=this.G?PA(this.G,a):this.g.ed(a)};var iB=function(a,b){null!=b&&null!=a.H&&a.g.uh(a.H,b)};
var lB=function(a,b,c){T.call(this);this.G=new U(this);this.m(this.G);this.K=a;this.qa=this.da=this.ba=this.l=null;this.N="h";this.u=null;this.g=new S;Ae(Ho,function(a){this.g.set(a,new De)},this);this.i=new De;this.S=new S;this.P=null;this.F=new Vo;this.M=new Uy;this.Ga=b;this.ua=c;this.Z=null;this.O=[];this.W=[];this.la=new Pz(this.K);this.pa=this.H=null;jB(this);this.na=yg();this.U=yg();wg([this.na.i,this.U.i]).then(function(){kB(this,!0)},null,this)};v(lB,T);
var mB=new Ny("","","o"),nB=new Ny("","","q",new ff(320,180),30),oB=new Ny("","","q",ZA,30),jB=function(a){Xt(a.K);zj(a.K,Wt).then(function(a){this.H=a;this.pa=[this.H.V("sessionManagerState",t(this.getState,this)),this.H.V("p2pSessionActive",t(function(){return $a(pB(this),function(a){return a.l.g})},this)),this.H.V("sessions",t(function(){return y(this.i.xa(),function(a){return Xp(a)},this)},this))]},function(){},a)};g=lB.prototype;
g.X=function(){x(this.i.xa(),ad);null!=this.H&&x(this.pa,this.H.g,this.H);lB.ha.X.call(this)};g.getState=function(){return this.N};g.Ra=function(a,b,c){a!=this.N&&(this.N=a,this.dispatchEvent(new Io(a,b,c)))};
g.cc=function(a){if("h"!=this.getState())return!1;var b=this.K,c=new ly(ft,[],[],[ft.prototype.aa],[ft.prototype.Fa],it,[],[],[it.prototype.aa],[it.prototype.Fa]),d=Qw.Pa(),e=new pz(d.Ja.m(b,void 0)),f=new ky(d.Ja.J(b),"ta");this.u=new Xw(b,d.Ja.g(b),[],c,e,f,d.Ja.l(b));this.m(this.u);bx(this.u);J(this.u.config,7,8);J(this.u.config,8,3E3);this.G.listen(this.u,"Ca",this.wa);this.G.listen(this.u,"Ea",this.ya);this.F=a;this.F.g&&this.na.g(!0);if(null==this.l||ya(this.l))this.l=this.F.i;null==this.l||
ya(this.l)||this.U.g(this.l);this.P=kB(this,!1);if(null==this.P)return this.stop(16),!1;this.Ra("i");return!0};g.start=function(){};g.qc=function(){this.u&&this.u.bc();x(this.i.xa(),function(a){a.qc()})};g.connect=function(a,b,c,d,e){if("i"!=this.getState()&&"k"!=this.getState())return!1;this.l=a;this.ba=b;this.da=c;this.Z=d;this.qa=e;this.U.g(this.l);var f=lb(pB(this),this.g.get("l").xa(),qB(this));x(f,function(f){f.Zd(a,b,c,d,e)});return!0};
var wA=function(a){var b={};x(a.i.xa(),function(a){a.l.g||(b[Wp(a)]=a.aa())});return b},JA=function(a){var b=[];x(pB(a),function(a){mb(b,a.g.qh())});return b},oA=function(a,b){x(a.i.xa(),function(a){a.l.m||(a.l=Yo(a.l,b),a.l.l&&a.g.Md())});a.F=Yo(a.F,b)},rB=function(a){a.F.l||(x(a.i.xa(),function(a){a.l.l||(a.l=Zo(a.l),a.l.m&&a.g.Md())}),a.F=Zo(a.F))},Wz=function(a,b){var c=!0;x(sB(a),function(a){c=c&&bB(a,b)});c?a.O.push(b):Yz(a,b)},Yz=function(a,b){var c=!0;x(sB(a),function(a){var e;if(e=c)a:{switch(a.getState()){case "m":case "n":e=
!1;break a}a.g.sh(b);e=!0}c=e});c=c&&jb(a.O,b)};lB.prototype.Ha=function(a,b){var c=lb(pB(this),qB(this),this.g.get("i").xa());if(null!=b){var d=cb(this.i.xa(),function(a){return Wp(a)==b});d&&c.unshift(d)}for(d=0;d<c.length;d++){var e=c[d].Ha(a);if(null!=e)return e}return null};lB.prototype.Xb=function(a){var b=lb(this.g.get("i").xa(),qB(this),pB(this));x(b,function(b){b.Xb(a)})};var tB=function(a,b){x(a.i.xa(),function(a){cB(a,b)},a);a.W=b};
lB.prototype.stop=function(a){if("h"==this.getState()||"m"==this.getState()||"n"==this.getState())return!1;this.Ra("m",a);x(this.i.xa(),function(b){b.stop(a)});return!0};
var kB=function(a,b){var c=uB(a,a.F,b);if(null==c)return null;var d=vB(a,c);if(null==d)return null;var e=Xy(a.M,d.g.Ld(),c.i,c.J,c.H,b);if(null==e)return null;e=a.u.add(e);Cg(e.then(function(a){if(1>a.length||!(a[0]instanceof ft))d.stop(16);else{var b=a[0];null!=b?(b=$y(this.M,b,!c.g),null!=b?wB(this,d,b):d.stop(16)):d.stop(16)}return a},null,a),function(a){d.stop(16);throw a;},a);mz(e,null,a);return d},vB=function(a,b){var c;var d="c"+Math.round(2147483648*Math.random())+Math.round(2147483648*Math.random())+
"_NMS";c=By(a.K);var e=Qz(a.la),d=c.Ja.Jd(d,e,b);b.g&&(!d.Sh()||2<a.W.length)?c=null:(c=c.Ja.fh(b),c=new YA(a.K,d,c,b));if(null==c)return null;a.i.add(c);a.g.get(c.getState()).add(c);a.S.set(Wp(c),c.getState());d=c;d.N=a.ua;d.u.listen(d.N,"Ta",d.za);d=c;d.G=a.Ga;d.u.listen(d.G,"Ta",d.Ba);cB(c,a.W);a.G.listen(c,["ab","bb","ca","fa"],a.dispatchEvent);a.G.listen(c.i,"U",a.dispatchEvent);a.G.listen(c,"I",a.Ca);a.G.listen(c,"$",a.za);a.G.listen(c,"Y",a.Ba);a.G.listen(c,"Z",a.va);return c},xB=function(a,
b,c){b.start(c);x(a.O,function(a){bB(b,a)})},sB=function(a){return lb(a.g.get("h").xa(),a.g.get("i").xa(),qB(a),a.g.get("l").xa(),pB(a))},pB=function(a){return a.g.get("k").xa()},qB=function(a){return a.g.get("j").xa()},uB=function(a,b,c){var d=b.i||a.l;null!=d?(b=ap(b,[mB,nB]),b=$o(b,d)):b=$o(b,null);if(c){b=Nb(b);b.G=!1;b=Nb(b);b.N=!0;if(null==a.P)return null;a=Nb(b);a.K=!1;b=ap(a,[mB,oB])}a=Nb(b);a.g=c;return a};
lB.prototype.wa=function(a){null!=a.zb&&0<a.zb.length&&yB(this,a.zb);null!=a.removed&&0<a.removed.length&&zB(this,a.removed)};lB.prototype.ya=function(a){this.stop(a.g)};var yB=function(a,b){x(b,function(a){var b=cb(this.i.xa(),function(b){return a.aa()==b.aa()});if(b){var e=$y(this.M,a,!b.l.g);null!=e&&wB(this,b,e)}},a)},zB=function(a,b){x(b,function(a){var b=cb(this.i.xa(),function(b){return a.aa()==b.aa()});b&&b.stop(25)},a)};lB.prototype.Ba=function(a){wB(this,a.i,a.g)};
var wB=function(a,b,c){var d=b.getState(),e="h"==d,f="h"==d||"i"==d,d="h"!=d&&"i"!=d,h=c.g;if(null==h||0==vp(h).length)f=e=!1;null!=h&&(h=h.g,null!=h&&null!=h.i&&null!=h.g&&0!=B(h.m).length||(f=!1));h=c.aa();null!=h&&b.Fa(h);e&&b.cc();if(f)xB(a,b,c);else if(d)a:{switch(b.getState()){case "h":break a;case "m":case "n":break a}a=b.H;if(null!=a?hB(a.g,c.g)||hB(a.i,c.i):1)b.H=c,a=c.g,null!=a&&(b.na=sp(a),b.dispatchEvent(new dq)),null==c.g&&null==c.i||b.g.update(c)}};
lB.prototype.va=function(a){if("k"==this.getState()){var b=Qz(this.la),c=new Ms;-1!=b.i&&J(c,1,b.i);-1!=b.g&&J(c,2,b.g);-1!=b.m&&J(c,3,b.m);b=new ct;M(b,7,c);c=new ft;c.Fa(a.sessionId);a=this.l||this.F.i;null===a||ht(c,[a]);gt(c,[b]);jx(this.u,c)}};
lB.prototype.za=function(a){switch(this.getState()){case "h":return;case "m":case "n":return}var b=a.target,c=[];x(a.g,function(a){a=this.M.g(a);c.push(a);J(a,9,void 0)},this);if(!(1>c.length)){var d=new at;N(d,6,c);var e=[],b=b.g.Ld().g;null!=b&&(x(vp(b),function(a){e.push(this.M.eg(a))},this),b=b.g,null!=b&&(J(d,4,b.i),J(d,5,b.g)));b=new ct;J(b,1,4);M(b,2,d);N(b,4,e);d=new ft;d.Fa(a.sessionId);gt(d,[b]);jx(this.u,d)}};
lB.prototype.Ca=function(a){var b=a.target,c=this.S.get(Wp(b)),d=b.getState();if(c!=d){this.S.set(Wp(b),d);this.g.get(c).remove(b);this.g.get(d).add(b);switch(d){case "j":null!=this.l&&null!=this.ba&&null!=this.da&&null!=this.Z&&b.Zd(this.l,this.ba,this.da,this.Z,this.qa);break;case "k":AB(this,b);break;case "m":BB(this,b,a.g);break;case "n":this.g.get(b.getState()).remove(b),this.S.remove(Wp(b)),this.i.remove(b),ad(b),this.i.Oa()==this.g.get("n").Oa()&&"m"==this.N&&this.Ra("n")}this.dispatchEvent(a)}};
var AB=function(a,b){if("h"!=a.getState()&&"m"!=a.getState()&&"n"!=a.getState()){"i"==a.getState()&&a.Ra("k");iB(b,a.F.O);var c=Wp(b),d=pB(a);x(d,function(a){c!=Wp(a)&&("k"==a.getState()&&a.g.rh()&&(Ng(a.F),a.F=null,Yp(a,"l",void 0,void 0)),CB(a,b))},a)}},BB=function(a,b,c){x(a.O,function(a){a.ye(Wp(b))});if(26==c)a.P=kB(a,!1);else{var d=a.g.get("m").Oa()+a.g.get("n").Oa();a.i.Oa()==d?"m"!=a.N&&a.stop(c):0==pB(a).length&&x(a.g.get("l").xa(),function(a){"l"==a.getState()&&a.g.th()&&(a.i.Ca(),a.dispatchEvent("ea"), Yp(a,"k",void 0,void 0),a.dispatchEvent(new cq([],Wp(a))),$A(a));CB(b,a)},a)}},CB=function(a,b){var c=a.l.g?5:4,d=new Co;J(d,1,c);J(d,2,0);c=a.aa();J(d,3,c);c=b.aa();J(d,4,c);c=u();J(d,5,c);c=new Fo;M(c,15,d);Gz(a.i,c)};
var DB=function(a,b,c){T.call(this);this.l=b;this.g=c;this.i=new U(this);this.m(this.i);this.i.removeAll();this.i.listen(a,"bb",this.F)};v(DB,T);DB.prototype.F=function(a){this.g.report("S");var b=this.l,c=Hc(a.data),c=new Gt(c),c=L(c,Et,1);x(c,b.g,b);a=Hc(a.data);a=L(new Gt(a),Et,1);0==a.length?this.g.report("W"):1==a.length?x(a,this.u,this):this.g.report("X")};
DB.prototype.u=function(a){a=K(a,Dt,2);if(null!=a){for(var b,c,d=0;d<ru.length;d++)if(c=ru[d].Pb.call(a),null!=c){b=ru[d].eventType;a=void 0;switch(b){case "ta":a="$";break;case "va":a="aa";break;case "qa":a="ba";break;case "ra":a="ca";break;case "ua":a="da";break;case "ma":a="ea";break;case "na":a="fa";break;case "oa":a="ga";break;case "wa":a="ha";break;case "pa":a="ja";break;default:a="Z"}this.g.report(a);break}b||this.g.report("ia")}else this.g.report("Y")};
var EB=function(a,b){T.call(this);this.Ia=a;this.u=wu(a);this.qb=new U(this);this.m(this.qb);this.pa=new yA;this.l=this.pa.g;this.qa=new yA;this.tb=this.qa.g;this.N=[];this.Z=I(this.u,2)+"^"+Ma();this.ua=new yA;this.F=this.ua.g;this.K=new yA;this.ub=this.K.g;this.ba=new yA;this.gb=this.ba.g;this.W=new yA;this.onConnect=this.W.g;this.Ga=new yA;this.onDisconnect=this.Ga.g;this.Ba=XA(a,Tz,Uz);this.Na=new NA;this.m(this.Na);this.Ca=new NA;this.m(this.Ca);this.g=new lB(a,this.Na.g,this.Ca.g);this.m(this.g);
zA(new yA,this.g);this.G=[];this.va=0;this.qb.listen(this.g,"ab",this.dispatchEvent);this.qb.listen(this.g,"I",this.ob);b.F&&(b=bp(b,I(this.u,6)));var c=I(this.u,18);null!=c&&(b=Xo(b,c));this.g.cc(b);XA(a,kA,lA).then(function(a){a.je||mA(a);oA(this.g,nA(a));Math.random()<=Rc(a.Qb,9)&&rB(this.g);a.Td.push(this);this.onConnect.then(t(a.ij,a,this));this.onDisconnect.then(t(a.Og,a,this),t(a.Og,a,this))},null,this);this.La=[];XA(a,Wt,Xt).then(function(a){this.na=a;Ab(this.S(),function(a,b){this.La.push(this.na.V(b,
a))},this)},null,this)};v(EB,T);EB.prototype.S=function(){return{callState:t(this.getState,this),hangoutId:t(this.l.get,this.l),mediaSources:t(function(){return this.F.get()&&fx(this.F.get())},this),pid:t(this.tb.get,this.tb),plid:Nd(this.Z)}};EB.prototype.X=function(){this.disconnect(0);x(this.La,this.na.g,this.na);EB.ha.X.call(this)};EB.prototype.Ra=function(a){a!=this.va&&(this.va=a,this.dispatchEvent("db"))};EB.prototype.getState=function(){return this.va};
var GB=function(a,b,c,d){var e=tz(a.Ia,[c],new ly(lt,[lt.prototype.oa],[lt.prototype.ea],[lt.prototype.Y,lt.prototype.xf],[lt.prototype.Ea,lt.prototype.yf],st,[st.prototype.oa],[st.prototype.ea],[st.prototype.Y,st.prototype.bh],[st.prototype.Ea,st.prototype.Ek]),qz,"ua"),f=new FA(d,e,y(FB(a),function(a){return a.g}),a.g);HA(f,a.N);var h=new UA(f,a.g);zA(a.pa,c);zA(a.qa,d);zA(a.ua,e);a.m(e);zA(a.K,f);a.m(f);zA(a.ba,h);a.m(h);b.g();zA(a.W,null);a.Ra(2);a.g.connect(c,d,a.Z,"jid",null);a.m(new DB(a.g,
a.u.G,a.u.F));e.start()};EB.prototype.O=function(){this.g.qc();this.F.get()&&this.F.get().bc()};var HB=function(a,b){a.N=B(b);var c=a.ub.get();c&&HA(c,a.N);tB(a.g,a.N)};EB.prototype.disconnect=function(a){if(3==this.getState()||4==this.getState())return this.onDisconnect;var b=2==this.getState();this.Ra(3);this.ya(b,a);return this.onDisconnect};
EB.prototype.ya=function(a,b){var c=new IB(b);AA(this.pa,c);AA(this.qa,c);AA(this.ua,c);AA(this.K,c);AA(this.ba,c);AA(this.W,c);x(this.G,function(a){ad(a)});fb(this.G);this.u.i.g=null;zA(this.Ga,b);this.Ra(4);this.g.stop(b);null!=this.F.get()&&this.F.get().stop()};var FB=function(a){return y(a.G,function(a){return a.Mb})};
EB.prototype.ob=function(a){if(a.target==this.g)"m"==a.l?this.disconnect(a.g):"k"==a.l&&this.dispatchEvent("cb");else{var b=a.target;"m"==a.l?this.Ba.then(function(a){jb(a.g,b)},null,this):"k"==a.l&&this.Ba.then(function(a){z(a.g,b)||(a.g.push(b),a=b.aa(),null!=a&&b.dispatchEvent(new fq(a)))},null,this)}};var JB=function(){},IB=function(a){this.g=a};
var KB=function(){};v(KB,Rw);Qj(KB,Rw);var LB=new Se("NZuY0e");KB.prototype.g=function(a){return K(wu(a),ni,13)};KB.prototype.m=function(a,b){var c=wu(a),d;(d=b)||(d=K(c,ni,13),d=!(null==I(d,10)?0:I(d,10)));if(d)return new ay(b||I(c,6),c.i,void 0,I(c,1),I(c,5));d=Wi(a,LB);d||(d=new ay(I(c,6),c.i,void 0,I(c,1),I(c,5)),Xi(a,LB,d));return d};KB.prototype.J=function(a){return wu(a).G};KB.prototype.l=function(a){return wu(a).F};
var MB=function(a,b,c){EB.call(this,a,b);this.wa=!!c;this.U=new yA;this.H=this.U.g;this.da=new yA;this.i=this.da.g;this.i.then(function(a){this.qb.listen(a,"Ca",ta(this.Ma,a));this.Ma(a)},null,this);this.za=this.P=this.la=null};v(MB,EB);var NB={1:200,2:201,3:202,4:206,5:207,6:209,7:216,11:223,17:235},OB={1:0,2:307,3:303,4:217,5:305,6:307,7:307,8:306,11:217};MB.prototype.O=function(){MB.ha.O.call(this);this.i.get()&&this.i.get().bc();this.H.get()&&this.H.get().bc()};
MB.prototype.Ma=function(a){HB(this,y(a.get(),function(a){return a.Y()}))};MB.prototype.connect=function(a,b){if(0!=this.getState())return tg(new JB(this.getState()));var c=yg();this.Ra(1);if(p(a)){var d=uz(this.Ia,a);PB(this,c,d,b||null)}else QB(this,c,a,b);return c.i};
var QB=function(a,b,c,d){c.then(function(a){PB(this,b,a,d||null)},function(){this.Ra(0);b.m(new RB)},a)},PB=function(a,b,c,d){var e=c.F.oa();if(1!=a.getState())b.m(new RB(new JB(a.getState()))),ad(c);else{var f=tz(a.Ia,[e],new ly(zs,[zs.prototype.oa],[zs.prototype.ea],[zs.prototype.Y],[zs.prototype.Ea],As,[As.prototype.oa],[As.prototype.ea],[As.prototype.Y],[As.prototype.Ea]),nz,"ra");if(a.wa)SB(a,b,c,f,d);else{var h;h=my(f.g,f.g.i(f.F));ya(d||"")||h.Ea(d);a.P=Ed(nf(),"beforeunload",t(a.Ka,a,e));
a.za=Ed(nf(),"unload",t(a.Ka,a,e));f.add(h).then(t(a.fb,a,b,c,f),t(a.Qa,a,b,c,f))}}};MB.prototype.fb=function(a,b,c,d){1!=this.getState()?(a.m(new RB(new JB(this.getState()))),a=new zs,a.ea(d[0].oa()),a.Ea(d[0].Y()),c.remove(a).then(this.M,null,this),ad(b),ad(c)):SB(this,a,b,c,d[0].Y())};MB.prototype.Qa=function(a,b,c,d){this.M();this.Ra(0);ad(b);ad(c);a.m(new RB(TB(d)))};
MB.prototype.S=function(){var a=MB.ha.S.call(this);a.hangout=t(function(){return this.H.get()&&fx(this.H.get())},this);a.participants=t(function(){return this.i.get()&&fx(this.i.get())},this);return a};var SB=function(a,b,c,d,e){var f=c.F.oa();zA(a.U,c);zA(a.da,d);a.m(c);a.m(d);GB(a,b,f,e);c.start();d.start()};
MB.prototype.ya=function(a,b){this.la=b;if(a&&!this.wa){var c=new zs;c.ea(this.l.get());c.Ea(this.tb.get());var d={};d.jYdIne=b;this.i.get().remove(c,d,2).then(this.M,null,this)}MB.ha.ya.call(this,a,b);c=new IB(b);AA(this.U,c);AA(this.da,c);null!=this.H.get()&&this.H.get().stop();null!=this.i.get()&&this.i.get().stop()};MB.prototype.M=function(){null!=this.P&&Hd(this.P);null!=this.za&&Hd(this.za)};
MB.prototype.Ka=function(a){this.M();var b=I(this.u,12),c=null!=this.la?this.la:63;if(null!=b){var d=new pw;d.ea(a);J(d,5,c);d.setRequestHeader(xu(this.u));a=Jc(d.Da);null!=navigator.sendBeacon?(d=new FormData,d.append("r",a),navigator.sendBeacon(b,d)):(b=gh(b,"r",a),a=bl($k),a.open("GET",b,!1),a.send(null));this.wa=!0}this.disconnect(c)}; var TB=function(a){var b;if(a&&a.response instanceof Lv){a=a.response;var c=a.getResponseHeader();c&&(b=10==c.ib()?NB[I(a,4)]:OB[c.ib()])}return l(b)?b:302},RB=function(){};
var UB=function(a){T.call(this);this.g=a;this.g.Aa=this;this.m(this.g)};v(UB,T);UB.prototype.i="ob";UB.prototype.td=function(){return"La"==this.g.getState()};var VB=function(a,b){a.i=b;a.dispatchEvent("fb")};UB.prototype.If=da;UB.prototype.ye=da;var WB=function(a,b){this.g=a;this.errors=b},XB=function(a,b,c){this.id=a;this.displayName=b;this.g=c};XB.prototype.toString=function(){return(this.g?"* ":"")+this.displayName+" - "+this.id};var YB=function(a,b,c){this.title=a;this.message=c?null:b;this.g=c?b:null};YB.prototype.toString=function(){return this.title+": "+(this.message||this.g)};
var ZB=function(a,b){var c=uz(a,"");return c.add(b).then(function(a){var b=c.g;a=Vw(b,b.i(a[0]));c.F=a.L();return c},function(a){ad(c);throw a;})},$B=function(a,b){var c=0;l(void 0)&&(b=b.L(),J(b,5,!0),c=u()+void 0);var d=yg(),e=function(a){u()>=c?d.m(a):V(h,5E3)},f=function(b){1==b.getResponseHeader().ib()?(b=b.oa(),d.g(uz(a,b))):e(new Jx("fatal","backend",null,b))},h=function(){var c;c=b;var d;d=Qw.Pa().Ja.m(a,void 0);var h=d.u;c=c.L();c.setRequestHeader(by(d));c=h.makeRequest("hangouts/resolve", c);Cg(c.then(f),e)};h();return d.i};
var aC=function(a){H(this,a,"rme:adluc",-1,null)};v(aC,E);aC.prototype.L=function(){return P(this)};Q("rme:adluc",aC);var bC=function(a){H(this,a,"rme:ccr",-1,null)};v(bC,E);bC.prototype.L=function(){return P(this)};Q("rme:ccr",bC);var cC=function(a){H(this,a,"rme:csc",-1,null)};v(cC,E);cC.prototype.L=function(){return P(this)};Q("rme:csc",cC);cC.prototype.oa=function(){return I(this,2)};cC.prototype.ea=function(a){J(this,2,a)};cC.prototype.Y=function(){return I(this,3)};cC.prototype.Ea=function(a){J(this,3,a)};
var dC=function(a){H(this,a,"rme:cc",-1,null)};v(dC,E);dC.prototype.L=function(){return P(this)};Q("rme:cc",dC);var eC=function(a){H(this,a,"rme:dpmreq",-1,null)};v(eC,E);eC.prototype.L=function(){return P(this)};Q("rme:dpmreq",eC);var fC=function(a){H(this,a,"rme:dpmresp",-1,null)};v(fC,E);fC.prototype.L=function(){return P(this)};Q("rme:dpmresp",fC);var gC=function(a){H(this,a,"rme:dc",-1,null)};v(gC,E);gC.prototype.L=function(){return P(this)};Q("rme:dc",gC);var hC=function(a){H(this,a,0,-1,null)};v(hC,E);hC.prototype.L=function(){return P(this)};var iC=function(a,b,c){Zc.call(this);this.g=a;this.u=b||0;this.l=c;this.i=t(this.Ci,this)};v(iC,Zc);g=iC.prototype;g.jd=0;g.X=function(){iC.ha.X.call(this);this.stop();delete this.g;delete this.l};g.start=function(a){this.stop();this.jd=V(this.i,l(a)?a:this.u)};g.stop=function(){0!=this.jd&&Ng(this.jd);this.jd=0};g.Ci=function(){this.jd=0;this.g&&this.g.call(this.l)};
var jC=function(){Zc.call(this);this.i={}};v(jC,Zc);jC.prototype.connect=function(a){a&&a()};jC.prototype.Fb=function(){return!0};jC.prototype.getService=function(a,b){var c=this.i[a];return c?c:this.K?{ma:ta(this.K,a),nf:na(b)}:null};var kC=function(a,b){if(b&&p(a))try{return Hc(a)}catch(c){return null}else if(!b&&!p(a))return Jc(a);return a};jC.prototype.X=function(){jC.ha.X.call(this);delete this.M;delete this.i;delete this.K};
var lC={1:"NativeMessagingTransport",2:"FrameElementMethodTransport",3:"IframeRelayTransport",4:"IframePollingTransport",5:"FlashTransport",6:"NixTransport",7:"DirectTransport"},mC=["pu","lru","pru","lpu","ppu"],nC={},pC=function(){for(var a=10,b=oC,c=b.length,d="";0<a--;)d+=b.charAt(Math.floor(Math.random()*c));return d},oC="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
var qC=function(a){Zc.call(this);this.W=a||hf()};v(qC,Zc);qC.prototype.zc=0;qC.prototype.sa=function(){return this.zc};var rC=function(a){return mf(a.W.g)};qC.prototype.getName=function(){return lC[String(this.zc)]||""};var uC=function(a,b){qC.call(this,b);this.i=a;this.g=new U(this);this.m(this.g);this.H=new Mg(100,rC(this));this.m(this.H);this.F=new D;this.G=new D;this.l=new D;this.K=pC();this.T=null;this.u={};this.N=this.i.name;sC(this.i,this.i.name+"_"+tC(this.i));this.M=!1;lj(this.l,this.F);lj(this.l,this.G);this.l.V(this.Ti,this);this.l.ma(!0);this.g.listen(this.H,"tick",this.zg)};v(uC,qC);
var vC={},yC=function(a){var b=new wC(a.channelName,a.service,a.payload);a=b.g;var c=b.service,b=b.payload,d=nC[a];if(d)return d.l(c,b),!0;var d=xC(b)[0],e;for(e in nC){var f=nC[e];if(1==tC(f)&&!f.Fb()&&"tp"==c&&"SETUP"==d)return sC(f,a),f.l(c,b),!0}return!1};g=uC.prototype;g.zc=7;
g.xe=function(a){a=xC(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.F.i||this.F.ma(!0);break;case "SETUP":this.send("tp","SETUP_ACK"),this.G.i||this.G.ma(!0),null!=this.T&&this.T!=b&&this.send("tp","SETUP,"+this.K),this.T=b}};g.connect=function(){var a=rC(this);if(a){var b=qa(a);0==(vC[b]||0)&&null==ca("crosswindowmessaging.channel",a)&&ba("crosswindowmessaging.channel",yC,a);vC[b]++;this.M=!0;this.zg()}};g.zg=function(){this.i.Fb()?this.H.stop():(this.H.start(),this.send("tp","SETUP,"+this.K))};
g.send=function(a,b){if(this.i.Ab){var c=new wC(this.N+"_"+(0==tC(this.i)?1:0),a,b);this.i.g.directSyncMode?this.pg(c):this.u[qa(c)]=V(t(this.pg,this,c),0)}};g.pg=function(a){var b=qa(a);this.u[b]&&delete this.u[b];try{var c=ca("crosswindowmessaging.channel",this.i.Ab)}catch(d){return}if(null!==c)try{c({channelName:a.g,service:a.service,payload:a.payload})}catch(d){}};g.Ti=function(){zC(this.i,0)};
g.X=function(){if(this.M){var a=rC(this),b=qa(a);1==--vC[b]&&ba("crosswindowmessaging.channel",null,a)}this.u&&(Ab(this.u,function(a){Ng(a)}),this.u=null);this.F&&(bj(this.F),delete this.F);this.G&&(bj(this.G),delete this.G);this.l&&(bj(this.l),delete this.l);uC.ha.X.call(this)};var xC=function(a){a=a.split(",");a[1]=a[1]||null;return a},wC=function(a,b,c){this.g=a;this.service=b;this.payload=c};
var AC=function(a,b){qC.call(this,b);this.i=a;this.l=[];this.G=t(this.Ai,this)};v(AC,qC);g=AC.prototype;g.zc=2;g.Hf=!1;g.connect=function(){0==tC(this.i)?(this.g=this.i.ld,this.g.XPC_toOuter=t(this.Eg,this)):this.$f()};
g.$f=function(){var a=!0;try{this.g||(this.g=rC(this).frameElement),this.g&&this.g.XPC_toOuter&&(this.u=this.g.XPC_toOuter,this.g.XPC_toOuter.XPC_toInner=t(this.Eg,this),a=!1,this.send("tp","SETUP_ACK"),zC(this.i))}catch(b){}a&&(this.F||(this.F=t(this.$f,this)),rC(this).setTimeout(this.F,100))};g.xe=function(a){if(0!=tC(this.i)||this.i.Fb()||"SETUP_ACK"!=a)throw Error("aa");this.u=this.g.XPC_toOuter.XPC_toInner;zC(this.i)};
g.Eg=function(a,b){this.Hf||0!=this.l.length?(this.l.push({serviceName:a,payload:b}),1==this.l.length&&rC(this).setTimeout(this.G,1)):this.i.l(a,b)};g.Ai=function(){for(;this.l.length;){var a=this.l.shift();this.i.l(a.serviceName,a.payload)}};g.send=function(a,b){this.Hf=!0;this.u(a,b);this.Hf=!1};g.X=function(){AC.ha.X.call(this);this.g=this.u=null};
var BC=function(a,b){qC.call(this,b);this.g=a;this.M=this.g.g.ppu;this.da=this.g.g.lpu;this.G=[]},CC,DC;v(BC,qC);g=BC.prototype;g.Dk=5;g.zc=4;g.Xe=0;g.yd=!1;g.ie=!1;g.Dh=null;var EC=function(a){return"googlexpc_"+a.g.name+"_msg"},FC=function(a){return"googlexpc_"+a.g.name+"_ack"},HC=function(a){try{if(!a.J&&GC(a.g))return a.g.Ab.frames||{}}catch(b){}return{}};
BC.prototype.connect=function(){if(!this.J&&GC(this.g)){if(!this.ie){var a=EC(this);this.l=JD(this,a);this.T=rC(this).frames[a];a=FC(this);this.i=JD(this,a);this.H=rC(this).frames[a];this.ie=!0}if(KD(this,EC(this))&&KD(this,FC(this)))this.S=new LD(this,HC(this)[EC(this)],t(this.ba,this)),this.N=new LD(this,HC(this)[FC(this)],t(this.Z,this)),this.P();else{if(1==tC(this.g))this.Dh||0<this.Dk--||(sC(this.g,pC()),MD(this),this.ie=!1,this.Dh=JD(this,"googlexpc_reconnect_"+this.g.name));else if(0==tC(this.g))for(var a=
HC(this),b=a.length,c=0;c<b;c++){var d;try{a[c]&&a[c].name&&(d=a[c].name)}catch(f){}if(d){var e=d.split("_");if(3==e.length&&"googlexpc"==e[0]&&"reconnect"==e[1]){this.g.name=e[2];MD(this);this.ie=!1;break}}}rC(this).setTimeout(t(this.connect,this),100)}}};
var JD=function(a,b){var c=document.createElement("IFRAME"),d=c.style;d.position="absolute";d.top="-10px";d.left="10px";d.width="1px";d.height="1px";c.id=c.name=b;c.src=a.M+"#INITIAL";rC(a).document.body.appendChild(c);return c},MD=function(a){a.l&&(a.l.parentNode.removeChild(a.l),a.l=null,a.T=null);a.i&&(a.i.parentNode.removeChild(a.i),a.i=null,a.H=null)},KD=function(a,b){try{var c=HC(a)[b];if(!c||0!=c.location.href.indexOf(a.da))return!1}catch(d){return!1}return!0};
BC.prototype.P=function(){var a=HC(this);a[FC(this)]&&a[EC(this)]?(this.Aa=new ND(this.M,this.T),this.F=new ND(this.M,this.H),rC(this).setTimeout(t(function(){this.Aa.send("SETUP");this.yd=!0},this),100)):(this.O||(this.O=t(this.P,this)),rC(this).setTimeout(this.O,100))};var OD=function(a){if(a.U&&a.la&&(zC(a.g),a.u)){for(var b=0,c;b<a.u.length;b++)c=a.u[b],a.g.l(c.service,c.payload);delete a.u}};
BC.prototype.ba=function(a){if("SETUP"==a)this.F&&(this.F.send("SETUP_ACK"),this.U=!0,OD(this));else if(this.g.Fb()||this.U){var b=a.indexOf("|"),c=a.substring(0,b);a=a.substring(b+1);b=c.indexOf(",");if(-1==b){var d;this.F.send("ACK:"+c);PD(this,a)}else d=c.substring(0,b),this.F.send("ACK:"+d),c=c.substring(b+1).split("/"),b=parseInt(c[0],10),c=parseInt(c[1],10),1==b&&(this.K=[]),this.K.push(a),b==c&&(PD(this,this.K.join("")),delete this.K)}};
BC.prototype.Z=function(a){"SETUP_ACK"==a?(this.yd=!1,this.la=!0,OD(this)):this.g.Fb()&&this.yd&&parseInt(a.split(":")[1],10)==this.Xe&&(this.yd=!1,QD(this))};var QD=function(a){if(!a.yd&&a.G.length){var b=a.G.shift();++a.Xe;a.Aa.send(a.Xe+b);a.yd=!0}},PD=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c),c=b.substring(c+1);a.g.Fb()?a.g.l(d,c):(a.u||(a.u=[])).push({service:d,payload:c})};
BC.prototype.send=function(a,b){var c=a+":"+b;if(!Yb||3800>=b.length)this.G.push("|"+c);else for(var d=b.length,e=Math.ceil(d/3800),f=0,h=1;f<d;)this.G.push(","+h+"/"+e+"|"+c.substr(f,3800)),h++,f+=3800;QD(this)};BC.prototype.X=function(){BC.ha.X.call(this);var a=RD;jb(a,this.S);jb(a,this.N);this.S=this.N=null;sf(this.l);sf(this.i);this.T=this.H=this.l=this.i=null};
var RD=[],SD=t(function(){var a=RD,b,c=!1;try{for(var d=0;b=a[d];d++)c=c||b.receive()}catch(e){if(b.l.g.close(),!a.length)return}a=u();c&&(CC=a);DC=window.setTimeout(SD,1E3>a-CC?10:100)},BC),TD=function(){CC=u();DC&&window.clearTimeout(DC);DC=window.setTimeout(SD,10)},ND=function(a,b){if(!/^https?:\/\//.test(a))throw Error("ba`"+a);this.m=a;this.i=b;this.g=0};ND.prototype.send=function(a){this.g=++this.g%2;a=this.m+"#"+this.g+encodeURIComponent(a);try{ac?this.i.location.href=a:this.i.location.replace(a)}catch(b){}TD()};
var LD=function(a,b,c){this.l=a;this.i=b;this.m=c;this.g=this.i.location.href.split("#")[0]+"#INITIAL";RD.push(this);TD()};LD.prototype.receive=function(){var a=this.i.location.href;if(a!=this.g){this.g=a;if(a=a.split("#")[1])a=a.substr(1),this.m(decodeURIComponent(a));return!0}return!1};
var VD=function(a,b){qC.call(this,b);this.g=a;this.l=this.g.g.pru;this.i=this.g.g.ifrid;ac&&UD()};v(VD,qC);if(ac)var WD=[],XD=0,UD=function(){XD||(XD=window.setTimeout(function(){YD()},1E3))},YD=function(a){var b=u();for(a=a||3E3;WD.length&&b-WD[0].timestamp>=a;){var c=WD.shift().bj;sf(c)}XD=window.setTimeout(ZD,1E3)},ZD=function(){YD()};var $D={};VD.prototype.zc=3;VD.prototype.connect=function(){rC(this).xpcRelay||(rC(this).xpcRelay=aE);this.send("tp","SETUP")};
var aE=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c),e=b.substr(c+1);if(Yb&&-1!=(c=d.indexOf("|"))){var f=d.substr(0,c),d=d.substr(c+1),c=d.indexOf("+"),h=d.substr(0,c),c=parseInt(d.substr(c+1),10),m=$D[h];m||(m=$D[h]={tg:[],Ch:0,qg:0});-1!=d.indexOf("++")&&(m.qg=c+1);m.tg[c]=e;m.Ch++;if(m.Ch!=m.qg)return;e=m.tg.join("");delete $D[h]}else var f=d;nC[a].l(f,decodeURIComponent(e))};VD.prototype.xe=function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),zC(this.g)):"SETUP_ACK"==a&&zC(this.g)};
VD.prototype.send=function(a,b){var c=encodeURIComponent(b),d=c.length;if(Yb&&1800<d)for(var e=Ma(),f=0,h=0;f<d;h++){var m=c.substr(f,1800),f=f+1800;bE(this,a,m,e+(f>=d?"++":"+")+h)}else bE(this,a,c)};
var bE=function(a,b,c,d){if(Yb){var e=rC(a).document.createElement("DIV"),f;f=new Vd;f.g="this.xpcOnload()";var h={onload:f,sandbox:null},m={src:null,srcdoc:null},n={sandbox:""};f={};for(var r in m)f[r]=m[r];for(r in n)f[r]=n[r];for(r in h){var w=r.toLowerCase();if(w in m)throw Error("v`"+w+"`"+r+"`"+h[r]);w in n&&delete f[w];f[r]=h[r]}r=null;var A,h="";if(f)for(A in f){if(!ke.test(A))throw Error("u`"+A);n=f[A];if(null!=n){m=A;if(n instanceof Vd)n=Wd(n);else if("style"==m.toLowerCase()){if(!na(n))throw Error("t`"+
typeof n+"`"+n);if(!(n instanceof Yd)){var w="",F=void 0;for(F in n){if(!/^[-_a-zA-Z0-9]+$/.test(F))throw Error("l`"+F);var O=n[F];if(null!=O){if(O instanceof Vd)O=Wd(O);else if(ae.test(O)){for(var ja=!0,Pa=!0,Sa=0;Sa<O.length;Sa++){var tb=O.charAt(Sa);"'"==tb&&Pa?ja=!ja:'"'==tb&&ja&&(Pa=!Pa)}ja&&Pa||(O="zClosurez")}else O="zClosurez";w+=F+":"+O+";"}}n=w?Zd(w):$d}w=void 0;n instanceof Yd&&n.constructor===Yd&&n.i===Xd?w=n.g:(fa(n),w="type_error:SafeStyle");n=w}else{if(/^on/i.test(m))throw Error("r`"+
m+"`"+n);if(m.toLowerCase()in le)if(n instanceof ge)n instanceof ge&&n.constructor===ge&&n.g===fe?n="":(fa(n),n="type_error:TrustedResourceUrl");else if(n instanceof ce)n instanceof ce&&n.constructor===ce&&n.i===be?n=n.g:(fa(n),n="type_error:SafeUrl");else if(p(n))n instanceof ce||(n=n.Gc?n.ic():String(n),de.test(n)||(n="about:invalid#zClosurez"),n=ee(n)),n=n.ic();else throw Error("s`"+m+"`iframe`"+n);}n.Gc&&(n=n.ic());m=m+'="'+Ia(String(n))+'"';h+=" "+m}}A="<iframe"+h;h=void 0;null!=h?ia(h)||(h=
[h]):h=[];!0===Md.iframe?A+=">":(r=ne(h),A+=">"+je(r)+"</iframe>",r=r.Gd());(f=f&&f.dir)&&(/^(ltr|rtl|auto)$/i.test(f)?r=0:r=null);f=me(A,r);e.innerHTML=je(f);e=e.childNodes[0];e.xpcOnload=cE}else e=rC(a).document.createElement("IFRAME"),ac?WD.push({timestamp:u(),bj:e}):xd(e,"load",cE);f=e.style;f.visibility="hidden";f.width=e.style.height="0px";f.position="absolute";f=a.l;f+="#"+a.g.name;a.i&&(f+=","+a.i);f+="|"+b;d&&(f+="|"+d);e.src=f+(":"+c);rC(a).document.body.appendChild(e)},cE=function(){sf(this)}; VD.prototype.X=function(){VD.ha.X.call(this);ac&&YD(0)};
var dE=function(a,b,c,d,e){qC.call(this,c);this.G=a;this.H=e||2;this.S=b||"*";this.g=new U(this);this.T=new Mg(100,rC(this));this.N=!!d;this.u=new D;this.F=new D;this.l=new D;this.P=pC();this.M=null;this.N?1==tC(this.G)?lj(this.l,this.u):lj(this.l,this.F):(lj(this.l,this.u),2==this.H&&lj(this.l,this.F));this.l.V(this.Ui,this);this.l.ma(!0);this.g.listen(this.T,"tick",this.Ag)};v(dE,qC);dE.prototype.i=null;dE.prototype.O=!1;dE.prototype.zc=1;var eE={};dE.prototype.K=0;
var gE=function(a){var b=a.g.data;if(!p(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c),c=b.substring(c+1,d),b=b.substring(d+1);if(d=nC[e])return d.l(c,b,a.g.origin),!0;a=fE(b)[0];for(var f in nC)if(d=nC[f],1==tC(d)&&!d.Fb()&&"tp"==c&&("SETUP"==a||"SETUP_NTPV2"==a))return sC(d,e),d.l(c,b),!0;return!1};
dE.prototype.xe=function(a){var b=fE(a);a=b[1];switch(b[0]){case "SETUP_ACK":hE(this,1);this.u.i||this.u.ma(!0);break;case "SETUP_ACK_NTPV2":2==this.H&&(hE(this,2),this.u.i||this.u.ma(!0));break;case "SETUP":hE(this,1);iE(this,1);break;case "SETUP_NTPV2":2==this.H&&(b=this.i,hE(this,2),iE(this,2),1!=b&&null==this.M||this.M==a||jE(this),this.M=a)}};
var jE=function(a){2!=a.H||null!=a.i&&2!=a.i||a.send("tp","SETUP_NTPV2,"+a.P);null!=a.i&&1!=a.i||a.send("tp","SETUP")},iE=function(a,b){if(2!=a.H||null!=a.i&&2!=a.i||2!=b){if(null!=a.i&&1!=a.i||1!=b)return;a.send("tp","SETUP_ACK")}else a.send("tp","SETUP_ACK_NTPV2");a.F.i||a.F.ma(!0)},hE=function(a,b){b>a.i&&(a.i=b);1==a.i&&(a.F.i||a.N||a.F.ma(!0),a.M=null)};g=dE.prototype;
g.connect=function(){var a=rC(this),b=qa(a),c=eE[b];q(c)||(c=0);0==c&&xd(a.postMessage?a:a.document,"message",gE,!1,dE);eE[b]=c+1;this.O=!0;this.Ag()};g.Ag=function(){var a=0==tC(this.G);this.N&&a||this.G.Fb()||this.J?this.T.stop():(this.T.start(),jE(this))};g.send=function(a,b){var c=this.G.Ab;c&&(this.send=function(a,b){var f=this,h=this.G.name;this.K=V(function(){f.K=0;try{var m=c.postMessage?c:c.document;m.postMessage&&m.postMessage(h+"|"+a+":"+b,f.S)}catch(n){}},0)},this.send(a,b))};
g.Ui=function(){zC(this.G,1==this.H||1==this.i?200:void 0)};g.X=function(){if(this.O){var a=rC(this),b=qa(a),c=eE[b];eE[b]=c-1;1==c&&Gd(a.postMessage?a:a.document,"message",gE,!1,dE)}this.K&&(Ng(this.K),this.K=0);ad(this.g);delete this.g;ad(this.T);delete this.T;bj(this.u);delete this.u;bj(this.F);delete this.F;bj(this.l);delete this.l;delete this.send;dE.ha.X.call(this)};var fE=function(a){a=a.split(",");a[1]=a[1]||null;return a};
var kE=function(a,b){qC.call(this,b);this.g=a;this.i=a.at||"";this.l=a.rat||"";var c=rC(this);if(!c.nix_setup_complete)try{c.execScript("Class GCXPC____NIXVBS_wrapper\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport.GCXPC____NIXJS_handle_message(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport.GCXPC____NIXJS_create_channel(channel)\nEnd Sub\nPublic Sub GCXPC____NIXVBS_container()\n End Sub\nEnd Class\n Function GCXPC____NIXVBS_get_wrapper(transport, auth)\nDim wrap\nSet wrap = New GCXPC____NIXVBS_wrapper\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet GCXPC____NIXVBS_get_wrapper = wrap\nEnd Function",
"vbscript"),c.nix_setup_complete=!0}catch(d){}this.GCXPC____NIXJS_handle_message=this.Vi;this.GCXPC____NIXJS_create_channel=this.yi};v(kE,qC);g=kE.prototype;g.zc=6;g.nd=!1;g.Kc=null;g.connect=function(){0==tC(this.g)?this.Zf():this.Yf()};g.Zf=function(){if(!this.nd){var a=this.g.ld;try{a.contentWindow.opener=(0,rC(this).GCXPC____NIXVBS_get_wrapper)(this,this.i),this.nd=!0}catch(b){}this.nd||rC(this).setTimeout(t(this.Zf,this),100)}};
g.Yf=function(){if(!this.nd){try{var a=rC(this).opener;if(a&&"GCXPC____NIXVBS_container"in a){this.Kc=a;if(this.Kc.GetAuthToken()!=this.l)return;this.Kc.CreateChannel((0,rC(this).GCXPC____NIXVBS_get_wrapper)(this,this.i));this.nd=!0;zC(this.g)}}catch(b){return}this.nd||rC(this).setTimeout(t(this.Yf,this),100)}};g.yi=function(a){this.Kc=a;this.Kc.GetAuthToken()==this.l&&zC(this.g)};g.Vi=function(a,b){rC(this).setTimeout(t(function(){this.g.l(a,b)},this),1)}; g.send=function(a,b){this.Kc.SendMessage(a,b)};g.X=function(){kE.ha.X.call(this);this.Kc=null};
var mE=function(a,b){jC.call(this);for(var c=0,d;d=mC[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("ca`"+a[d]+"`"+d);this.g=a;this.name=this.g.cn||pC();this.u=b||hf();this.F=[];this.H=new U(this);a.lpu=a.lpu||eh(mf(this.u.g).location.href)+"/robots.txt";a.ppu=a.ppu||eh(a.pu||"")+"/robots.txt";nC[this.name]=this;Id(window,"unload",lE)||Ed(window,"unload",lE)};v(mE,jC);var nE=/^%*tp$/,oE=/^%+tp$/;g=mE.prototype;g.gc=null;g.Lc=null;g.yb=null;g.kd=1;g.Fb=function(){return 2==this.kd};
g.Ab=null;g.ld=null;var GC=function(a){try{return!!a.Ab&&!a.Ab.closed}catch(b){return!1}};mE.prototype.connect=function(a){this.G=a||da;3==this.kd&&(this.kd=1);this.Lc?this.Lc.V(this.T):this.T()};
mE.prototype.T=function(){this.Lc=null;this.g.ifrid&&(this.ld=this.u.getElement(this.g.ifrid));if(this.ld){var a=this.ld.contentWindow;a||(a=window.frames[this.g.ifrid]);this.Ab=a}if(!this.Ab){if(window==window.top)throw Error("ea");this.Ab=window.parent}if(!this.yb){if(!this.g.tp){var a=this.g,b;if(ma(document.postMessage)||ma(window.postMessage)||Yb&&window.postMessage)b=1;else if($b)b=2;else if(Yb&&this.g.pru)b=3;else{var c;if(c=Yb){c=!1;try{b=window.opener,window.opener={},c=jd(window,"opener"),
window.opener=b}catch(d){}}b=c?6:4}a.tp=b}switch(this.g.tp){case 1:this.yb=new dE(this,this.g.ph,this.u,!!this.g.osh,this.g.nativeProtocolVersion||2);break;case 6:this.yb=new kE(this,this.u);break;case 2:this.yb=new AC(this,this.u);break;case 3:this.yb=new VD(this,this.u);break;case 4:this.yb=new BC(this,this.u);break;case 7:if(a=this.Ab)try{a=window.document.domain==this.Ab.document.domain}catch(d){a=!1}a&&(this.yb=new uC(this,this.u))}if(!this.yb)throw Error("da");}for(this.yb.connect();0<this.F.length;)this.F.shift()()};
mE.prototype.close=function(){this.Lc&&(bj(this.Lc),this.Lc=null);this.F.length=0;this.H.removeAll();this.kd=3;ad(this.yb);this.G=this.yb=null;ad(this.gc);this.gc=null};var zC=function(a,b){a.Fb()||a.gc&&0!=a.gc.jd||(a.kd=2,ad(a.gc),l(b)?(a.gc=new iC(a.G,b),a.gc.start()):(a.gc=null,a.G()))};mE.prototype.send=function(a,b){this.Fb()&&(GC(this)?(na(b)&&(b=Jc(b)),this.yb.send(pE(a),b)):this.close())};
mE.prototype.l=function(a,b,c){if(this.Lc)this.F.push(t(this.l,this,a,b,c));else{var d=this.g.ph;!ya(La(c))&&!ya(La(d))&&c!=this.g.ph||this.J||3==this.kd||(a&&"tp"!=a?this.Fb()&&(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=oE.test(a)?a.substring(1):a,a=this.getService(a,b))&&(b=kC(b,a.nf),null!=b&&a.ma(b)):this.yb.xe(b))}};
var pE=function(a){nE.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)},tC=function(a){var b=a.g.role;return q(b)?b:window.parent==a.Ab?1:0},sC=function(a,b){delete nC[a.name];a.name=b;nC[b]=a};mE.prototype.X=function(){this.close();this.ld=this.Ab=null;delete nC[this.name];ad(this.H);delete this.H;mE.ha.X.call(this)};var lE=function(){for(var a in nC)ad(nC[a])};
var qE=function(a,b){T.call(this);this.G=a;this.M=Nb(b);var c=t(this.K,this);this.G.i.mediaCall={ma:c,nf:!0}};v(qE,T);qE.prototype.K=function(a){var b=this.M[a[0]];null!=b&&b(Vc(a))};qE.prototype.send=function(a){this.G.send("mediaCall",a.Da)};var rE=function(a){H(this,a,0,-1,null)};v(rE,E);rE.prototype.L=function(){return P(this)};rE.prototype.getId=function(){return I(this,1)};var tE=function(a){H(this,a,"rme:mdi",-1,sE)};v(tE,E);var sE=[3,4,5];tE.prototype.L=function(){return P(this)};Q("rme:mdi",tE);var uE=function(a){H(this,a,"rme:md",-1,null)};v(uE,E);uE.prototype.L=function(){return P(this)};Q("rme:md",uE);var vE=function(a){H(this,a,"rme:mdsc",-1,null)};v(vE,E);vE.prototype.L=function(){return P(this)};Q("rme:mdsc",vE);var xE=function(a){H(this,a,"rme:pu",-1,wE)};v(xE,E);var wE=[2];xE.prototype.L=function(){return P(this)};Q("rme:pu",xE);xE.prototype.ee=function(){return L(this,zs,2)};var yE=function(a){H(this,a,"rme:rrreq",-1,null)};v(yE,E);yE.prototype.L=function(){return P(this)};Q("rme:rrreq",yE);yE.prototype.Y=function(){return I(this,2)};yE.prototype.Ea=function(a){J(this,2,a)};var zE=function(a){H(this,a,"rme:rrresp",-1,null)};v(zE,E);zE.prototype.L=function(){return P(this)};Q("rme:rrresp",zE);zE.prototype.Y=function(){return I(this,2)};zE.prototype.Ea=function(a){J(this,2,a)};var AE=function(a){H(this,a,"rme:rdlu",-1,null)};v(AE,E);AE.prototype.L=function(){return P(this)};Q("rme:rdlu",AE);var BE=function(a){H(this,a,"rme:sd",-1,null)};v(BE,E);BE.prototype.L=function(){return P(this)};Q("rme:sd",BE);BE.prototype.Ta=function(){return I(this,3)};var CE=function(a){H(this,a,"rme:sadlu",-1,null)};v(CE,E);CE.prototype.L=function(){return P(this)};Q("rme:sadlu",CE);var DE=function(a){H(this,a,"rme:spmd",-1,null)};v(DE,E);DE.prototype.L=function(){return P(this)};Q("rme:spmd",DE);var FE=function(a){H(this,a,"rme:sc",-1,EE)};v(FE,E);var EE=[3,4,5];FE.prototype.L=function(){return P(this)};Q("rme:sc",FE);var GE=function(a){H(this,a,"rme:rmdi",-1,null)};v(GE,E);GE.prototype.L=function(){return P(this)};Q("rme:rmdi",GE);var HE=function(a){H(this,a,"rme:tmap",-1,null)};v(HE,E);HE.prototype.L=function(){return P(this)};Q("rme:tmap",HE);var IE=function(a){return null==I(a,2)?!0:I(a,2)};var JE=function(a,b,c,d){U.call(this);this.M=a;this.N=b;this.P=c;this.K=d;this.l=!0;this.g=this.H=null;this.G=!1;this.u=null;this.i()};v(JE,U);JE.prototype.X=function(){this.g&&this.g.stop();JE.ha.X.call(this)};
var LE=function(a,b){a.u=b;KE(a)},NE=function(a,b){a.l=b;KE(a);ME(a);a.i()},KE=function(a){null!=a.g||a.G||null==a.u||a.l||(a.G=!0,a.u().then(function(a){this.G=!1;if(this.J)a.stop();else{var c;a:if(c=this.N,3==c.getState()||4==c.getState())c=!1;else{for(var d=0;d<c.G.length;d++)if(c.G[d].Mb==a){c=!1;break a}c.G.push(new Xz(c.g,c,a));c.K.g.g&&c.K.g.get().F(a.g);c=!0}c&&(this.g=a,this.listen(a.g,"Ma",this.i),ME(this),this.i())}},null,a))},ME=function(a){null!=a.g&&(a.l?a.g.Kd():a.g.hh())}; JE.prototype.i=function(){var a=this.g?this.g.td():this.l;if(a!==this.H){this.H=a;var b=new vE;J(b,1,this.M);J(b,2,this.K);J(b,3,a);this.P(b)}};
var OE=function(){T.call(this);this.u=0;this.i=new U(this);this.m(this.i);this.l=new U(this);this.m(this.l)};v(OE,T);OE.prototype.X=function(){ad(this.g);OE.ha.X.call(this)};
var PE=function(a,b,c){var d;if(d=null!=a.g){d=a.g;var e=l(void 0)?void 0:null,f=l(void 0)?void 0:null;d=d.Y()==c&&(d.g&&d.g.getId())==e&&(d.g&&d.g.hb())==f}d||(b=new SA(c,l(void 0)?void 0:null,l(void 0)?void 0:null,b.l,b.i),a.g!=b&&(c=a.g,a.g=b,a.i.removeAll(),null!=a.g&&(a.i.listen(a.g,"La",a.ck),a.i.listen(a.g,"Wa",a.Uk),a.i.listen(a.g,"Ua",a.kh),a.i.listen(a.g,"Va",a.lh)),a.kh(),a.lh(),a.dispatchEvent("ib"),null!=c&&ad(c)))};g=OE.prototype;g.ck=function(a){this.dispatchEvent(a)};g.Uk=function(){this.dispatchEvent("jb")};
g.kh=function(){this.Tk()};g.Tk=da;g.lh=function(){this.l.removeAll();if(null!=this.g){var a=this.g.Ha();null!=a&&this.l.listen(a,"H",this.mh)}this.mh()};g.mh=function(){this.Vk();this.dispatchEvent("kb")};g.Vk=da;var QE=function(a,b){a.u!=b&&(a.u=b,a.dispatchEvent("lb"))};
var RE=function(a,b,c){U.call(this);this.G=a;this.H=Gy(By(a));this.g=b;this.af=!1;this.u={};this.i=null;this.l=sg();c.then(this.Dj,this.Ej,this)};v(RE,U);g=RE.prototype;g.X=function(){SE(this,null);RE.ha.X.call(this)};g.Dj=function(){this.g.i.then(this.ll,void 0,this)};g.Ej=function(){this.g.disconnect(15);this.dispose()};g.ll=function(){this.g.onDisconnect.then(this.dispose,this.dispose,this);this.listen(this.g.i.get(),"Ca",this.ig);this.Fh();this.ig()};
g.Fh=function(){Bg(this.g.i.get().bc(),function(){this.J||V(this.Fh,2E3,this)},this)};g.ig=function(){var a=0,b=!1,c=!1;x(this.g.i.get().get(),function(d){switch(null==I(d,17)?0:I(d,17)){case 20:c=!0;TE(this,d);break;case 22:TE(this,d);break;case 21:b=!0;TE(this,d);break;default:(null==I(d,18)?0:I(d,18))&&a++}},this);1<a?(V(this.g.O,1E3,this.g),this.dispose()):b?SE(this,"mb"):c?SE(this,"Va"):SE(this,null)};
var TE=function(a,b){var c=b.Y();if(!a.af&&!a.u[c]){a.u[c]=!0;var d=By(a.G).Ja.rd();a.m(d);PE(d,a.g.gb.get(),c);a.listen(d,"lb",function(){.1<d.u&&(this.af=!0)});V(a.g.O,1E3,a.g)}},SE=function(a,b){if(a.J||a.af)b=null;b!=a.i&&(a.l.J(),a.i=b,null!=b&&(a.l=a.H.loop(b)))};
/*

 Copyright (C) 2010 The Libphonenumber Authors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
/*

 Copyright (C) 2010 The Libphonenumber Authors.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
var UE=function(a,b,c){U.call(this);this.H=a;this.U=Gy(By(a));this.l=wu(a);this.K=b;this.G=c;this.P=sg();this.N=!1;this.u="";this.g=new MB(this.H,new Vo);this.m(this.g);this.listen(this.g,"db",this.S);a=new bC;J(a,1,b);this.G(a);this.S();this.g.i.then(function(a){this.Aa();this.listen(a,"Ca",this.Aa)},null,this);this.i={};this.i[0]=new JE(this.K,this.g,this.G,0);this.i[1]=new JE(this.K,this.g,this.G,1);Ab(this.i,this.m,this);this.M=Fy(By(this.H));LE(this.i[0],t(this.M.Oh,this.M));LE(this.i[1],t(this.M.Ph,
this.M))};v(UE,U);var VE={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,"*":10,"#":11,A:12,B:13,C:14,D:15},WE={0:"Wa",1:"Xa",2:"Ya",3:"Za",4:"$a",5:"ab",6:"bb",7:"bb",8:"db",9:"eb","*":"kb","#":"jb",A:"fb",B:"gb",C:"hb",D:"ib"};
UE.prototype.start=function(a,b,c,d){d=z(d,1);if(null==a)a=new vs,d&&J(a,14,2),d=ZB(this.H,a);else{d=this.H;if(ya(a))a=[];else{var e=/([^/]*)\/(.*)/.exec(a);a=e?e.slice(1):[a]}if(0==a.length)a=new vs,d=ZB(d,a);else if(1==a.length)d=sg(uz(d,a[0]));else{e=new uv;if(-1==a[0].indexOf(".")){var f=new ts;J(f,2,a[1]);J(f,1,a[0]);e.Mf(f)}else f=new sv,J(f,1,a[1]),J(f,2,a[0]),M(e,4,f);d=$B(d,e)}}this.g.connect(d);z(b,0)&&NE(this.i[0],!1);z(b,1)&&NE(this.i[1],!1);0<c.length&&this.g.onConnect.then(t(this.W,
this,c))};UE.prototype.W=function(a){for(var b=0;b<a.length;b++){var c=new nv;c.setRequestHeader(xu(this.l));var d=new mv,e=I(a[b],1),f=!1,h="1911"==e||"+1911"==e||"911"==e;e&&0==e.indexOf("*67")&&(f=!0,e=e&&0==e.indexOf("*67")?e.substring(3):e);var m=new Yr;J(m,1,e);M(d,3,m);J(d,5,f);J(d,4,h);d.ea(this.g.l.get());e=K(a[b],lv,2);M(d,6,e);M(c,2,d);c=this.l.i.makeRequest("hangout_invitations/addphone",c);1==a.length&&new RE(this.H,this.g,c.then())}};
var XE=function(a){if(!a.N&&0<a.u.length){for(var b=[],c=0;c<a.u.length;c++){var d=a.u[c],e=VE[d];if(null!=e){var f=new ss;J(f,1,e);b.push(f);var h=WE[d];if(null!=h){var m=yg();Bg(a.P,function(){m.g(this.U.J(h))},a);a.P=m.i}}}a.u="";0<b.length&&(c=new sw,c.setRequestHeader(xu(a.l)),d=new Es,d.ea(a.g.l.get()),J(d,4,1),f=new rs,N(f,1,b),M(d,5,f),M(c,2,d),a.N=!0,Bg(a.l.i.makeRequest("hangout_push_events/add",c),function(){this.N=!1;XE(this)},a))}};
UE.prototype.S=function(){var a=5;switch(this.g.getState()){case 0:a=0;break;case 1:a=1;break;case 2:a=2;break;case 3:a=3;break;case 4:a=4}var b=new cC;J(b,1,this.K);b.ea(this.g.l.get());b.Ea(this.g.tb.get());J(b,4,a);a=this.g.onDisconnect.get();J(b,5,a);this.G(b)};UE.prototype.Aa=function(){var a=new xE;J(a,1,this.K);var b=this.g.i.get().get();N(a,2,b);this.G(a)};
var ZE=function(a,b){a.g.l.g||YE(a,b);var c=new qv;c.setRequestHeader(xu(a.l));c.ea(a.g.l.get());a.l.i.makeRequest("hangout_participants/search",c).then(function(a){$a(a.ee(),function(a){return a.Y()==b})?YE(this,b):(a=cb(L(a,Mv,4),function(a){return a.Y()==b}),YE(this,b,null!=a?a.Ue():0))},function(){YE(this,b)},a)},YE=function(a,b,c){var d=new zE;J(d,1,a.K);d.Ea(b);null!=c&&J(d,3,c);a.G(d)};
var $E=function(a,b){this.H=a;this.F=XA(a,kA,lA).then(function(a){Bg(a.Rg,this.Hh,this);return a},null,this);this.l=By(this.H);this.g={};this.u=this.i=3;qE.call(this,b,{"rme:cc":t(this.lj,this),"rme:md":t(this.Tj,this),"rme:sd":t(this.kk,this),"rme:sc":t(this.tk,this),"rme:dc":t(this.qj,this),"rme:rmdi":t(this.uk,this),"rme:spmd":t(this.qk,this),"rme:tmap":t(this.Zg,this),"rme:sadlu":t(this.pk,this),"rme:rdlu":t(this.hk,this),"rme:rrreq":t(this.gk,this),"rme:dpmreq":t(this.oj,this)})};v($E,qE);
g=$E.prototype;g.lj=function(a){a=I(a,1);null!=this.g[a]||(this.g[a]=new UE(this.H,a,t(this.send,this)))};g.Tj=function(a){var b=this.g[I(a,2)];if(null!=b){var c=I(a,3);a=I(a,4);b=b.i[c];null!=b&&NE(b,a)}else aF(this,I(a,2))};g.kk=function(a){var b=this.g[I(a,2)];null!=b?(a=a.Ta(),b.u+=a,XE(b)):aF(this,I(a,2))};g.tk=function(a){var b=this.g[I(a,1)];null!=b?b.start(I(a,2)||null,I(a,3)||[],L(a,hC,4)||[],I(a,5)||[]):aF(this,I(a,1))};
g.qj=function(a){var b=this.g[I(a,1)];null!=b?(ad(b),delete this.g[I(a,1)]):aF(this,I(a,1))};var aF=function(a,b){var c=new cC;J(c,1,b);J(c,4,5);a.send(c)};g=$E.prototype;g.uk=function(){xd(this.l,"Ja",this.ud,void 0,this);this.ud()};g.qk=function(a){var b=Fy(this.l);if(null!=b){var c=I(a,1);null!=c&&b.te("tb",c);c=I(a,2);null!=c&&b.te("ub",c);c=I(a,3);null!=c&&b.te("vb",c)}};
g.Zg=function(a){var b=I(a,1)||!1,c=IE(a)||!0;Ey(this.l,c,b,t(this.Sj,this,b),t(this.Pj,this,b)).then(ta(this.Tg,b),function(c){"PermissionDeniedError"==c.name||"PermissionDismissedError"==c.name?this.Zg(a):this.Tg(b)},this)};g.Sj=function(a){this.i=4;a&&(this.u=4);this.ud()};g.Pj=function(a){this.i=5;a&&(this.u=5);this.ud()};g.Tg=function(a){this.i=3;a&&(this.u=3);this.ud()};
g.ud=function(){var a=new tE;switch(this.l.i){case 0:J(a,1,0);J(a,2,0);break;case 1:J(a,1,6);J(a,2,6);break;case 2:J(a,1,6);J(a,2,6);break;case 3:J(a,1,7);J(a,2,7);break;case 6:J(a,1,this.i);J(a,2,this.u);break;case 4:J(a,1,1);J(a,2,this.u);break;case 5:J(a,1,this.i);J(a,2,1);break;default:case 7:J(a,1,1),J(a,2,1)}var b=Fy(this.l);if(null!=b){xd(b,"hb",this.ud,void 0,this);var c=bF(b.oe("tb"));N(a,3,c);c=bF(b.oe("ub"));N(a,4,c);b=bF(b.oe("vb"));N(a,5,b)}else N(a,3,[]),N(a,4,[]),N(a,5,[]);this.send(a)};
var bF=function(a){return y(a.g,function(a){var c=new rE;J(c,1,a.id);J(c,2,a.displayName);J(c,3,a.g);return c})};g=$E.prototype;g.Hh=function(){this.F.then(function(a){var b=new aC;a=nA(a);J(b,1,a);this.send(b)},null,this)};g.pk=function(a){this.F.then(function(b){pA(b,I(a,1));this.Hh()},null,this)};g.hk=function(a){a=this.g[I(a,1)];null!=a&&rB(a.g.g)};g.gk=function(a){var b=this.g[I(a,1)];if(null!=b)ZE(b,a.Y());else{var b=new zE,c=I(a,1);J(b,1,c);b.Ea(a.Y());this.send(b)}}; g.oj=function(){var a=new fk;if(ek(a)&&(a=a.get("dsds"))&&p(a)){var b=new fC;J(b,1,a);this.send(b)}};
var cF=function(a,b){this.g=a;this.i=b};var dF=function(){this.i=this.g=0};dF.prototype.update=function(a,b){var c=-1,d=a-this.g;0<d&&(c=Math.round(8*(b-this.i)/d),this.g=a,this.i=b);return c};var eF=function(a,b,c){TA.call(this,b,"f");this.g=c};v(eF,TA);eF.prototype.aa=function(){return this.g};var fF=function(a,b){UB.call(this,b);this.H=a;this.l=[];this.F=this.u=!1;this.K=new U(this);this.m(this.K);this.G=this.g.hb();this.K.listen(this.g,"Ka",this.M);VB(this,"nb")};v(fF,UB);fF.prototype.stop=function(){this.Kd();"Ha"!=this.g.hb()?VB(this,"sb"):VB(this,"pb");return!0};var hF=function(a,b){VB(a,b);gF(a)};fF.prototype.jg=function(a){return new eF(0,this,a)};fF.prototype.If=function(a){this.l.push(a);var b=this.g.sa();iF(this.H,"",a,b,"user",this.u)};fF.prototype.ye=function(a){jb(this.l,a)};
fF.prototype.Th=function(){jF(this,this.u,"user")};var kF=function(a){return 0==a.l.length?null:a.l[a.l.length-1]};fF.prototype.Kd=function(){if("sb"==this.i)return!1;this.u=!0;"Ha"!=this.g.hb()?jF(this,!0,"user")||(this.F=!0,gF(this)):(this.F=!0,this.dispatchEvent("eb"));return!0};fF.prototype.hh=function(){if("sb"==this.i)return!1;this.F=this.u=!1;gF(this);"Ha"!=this.g.hb()&&jF(this,!1,"user");return!0};fF.prototype.td=function(){switch(this.i){case "pb":case "qb":case "rb":return!0;default:return this.F}};
var jF=function(a,b,c){for(var d=a.g.sa(),e=!1,f=0;f<a.l.length;f++)iF(a.H,"",a.l[f],d,c,b),e=!0;return e},gF=function(a){var b=lF(a);("Ha"==a.G||b)&&a.dispatchEvent("eb")};fF.prototype.M=function(){var a=this.g.hb();this.u&&("Ga"==this.G&&"Ha"==a?jF(this,!1,"unknown"):"Ha"==this.G&&"Ga"==a&&jF(this,!0,"unknown"));this.G=a;lF(this)};var lF=function(a){var b=a.g.getState(),c=a.td()&&"Ha"!=a.g.hb()?"La":"Ka";return c!=b?(a.g.Ra(c),!0):!1};
var mF={ki:0,Wm:1,ji:2,ii:3};var oF=function(a,b,c,d){this.F=a[7];this.i=a[3];this.u=nF(this.F,a[6]);this.J=nF(this.i,a[2]);this.m=b;this.l=c;this.g=d},nF=function(a,b){return 0<=b&&b<a.length?a[b]:a.length?a[0]:null};var pF=function(a,b,c,d,e,f,h,m,n,r,w,A){this.l=a;this.H=b;this.J=c;this.T=d;this.g=e;this.m=f;this.i=new Bo;J(this.i,1,h);J(this.i,2,m);J(this.i,5,A||-1);this.u=n||0;this.F=r||[];this.G=w||0};var qF=function(){this.i=new S;this.g=new S;this.m=new S},vF=function(a,b,c){null!=b&&x(b,function(a){var b=a.t;if("s"==b){if(null!=a){b=new Un;rF(a,b,!0);J(b,1,1);J(b,24,0);q(a.en)&&J(b,26,Math.round(a.en));null!=a.c&&J(b,44,a.c);q(a.edm)&&J(b,46,Math.round(a.edm));q(a.eds)&&J(b,47,Math.round(a.eds));q(a.erl)&&J(b,48,Math.round(a.erl));q(a.erle)&&J(b,49,Math.round(a.erle));q(a.ecqmin)&&J(b,63,a.ecqmin);q(a.s)?J(b,25,a.s):p(a.s)&&J(b,25,Ra(a.s));a=I(c,1);var f=sF(this.i,I(b,25));null!=f&&(a=f.update(a,
I(b,7)),0<=a&&J(b,42,a));tF(c,b)}}else"r"==b&&null!=a&&(b=new Un,rF(a,b,!1),J(b,1,1),J(b,24,1),q(a.en)&&J(b,26,Math.round(a.en)),null!=a.c&&J(b,94,a.c),q(a.s)?J(b,25,a.s):p(a.s)&&J(b,25,Ra(a.s)),q(a.er)&&J(b,68,a.er),q(a.pjb)&&J(b,38,Math.round(a.pjb)),q(a.d)&&J(b,39,Math.round(a.d)),q(a.owd)&&J(b,89,Math.round(a.owd)),q(a.dtn)&&J(b,82,a.dtn),q(a.dts)&&J(b,81,a.dts),q(a.dc)&&J(b,85,a.dc),q(a.dn)&&J(b,83,a.dn),q(a.dp)&&J(b,84,a.dp),q(a.dpc)&&J(b,86,a.dpc),uF(this,b,I(c,1),!0),tF(c,b))},a)},yF=function(a,
b,c){null!=b&&x(b,function(a){var b=a.t;"b"==b?null!=a&&(b=new Un,J(b,1,2),J(b,24,2),q(a.asbw)&&J(b,40,Math.round(a.asbw)),q(a.arbw)&&J(b,41,Math.round(a.arbw)),q(a.txbr)&&J(b,42,Math.round(a.txbr)),q(a.rtxbr)&&J(b,43,Math.round(a.rtxbr)),q(a.lbd)&&J(b,80,Math.round(a.lbd)),J(b,2,-1),J(b,3,-1),J(b,4,-1),J(b,5,-1),b.wc(-1),J(b,7,-1),J(b,8,-1),J(b,9,-1),J(b,10,-1),tF(c,b)):"s"==b?wF(a,c):"r"==b&&xF(this,a,c)},a)},rF=function(a,b,c){if(null!=a){J(b,2,Math.round(zF(a.fl)));J(b,3,zF(a.pl));J(b,4,zF(a.sn));
J(b,5,Math.round(zF(a.j)));b.wc(Math.round(zF(a.rtt)));var d=zF(a.b);a=zF(a.p);c?(J(b,7,d),J(b,9,-1),J(b,8,a),J(b,10,-1)):(J(b,7,-1),J(b,9,d),J(b,8,-1),J(b,10,a))}},sF=function(a,b){if(null==b)return null;var c=a.get(b);null==c&&(c=new dF,a.set(b,c));return c},uF=function(a,b,c,d){if(a=sF(d?a.g:a.m,I(b,25)))c=a.update(c,I(b,9)),0<=c&&J(b,96,c)},wF=function(a,b){if(null!=a){var c=new Un;rF(a,c,!0);J(c,1,2);J(c,24,0);q(a.fir)&&J(c,27,a.fir);q(a.nack)&&J(c,28,a.nack);q(a.fps)&&J(c,29,Math.round(a.fps));
q(a.sfps)&&J(c,30,Math.round(a.sfps));null!=a.c&&J(c,44,a.c);q(a.s)?J(c,25,a.s):p(a.s)&&J(c,25,Ra(a.s));null!=a.ss&&x(a.ss,function(a){AF(c,a)});q(a.w)&&c.setWidth(a.w);q(a.h)&&c.setHeight(a.h);q(a.ar)&&J(c,65,a.ar);q(a.ac)&&J(c,95,a.ac);q(a.et)&&J(c,75,a.et);tF(b,c)}},xF=function(a,b,c){if(null!=b){var d=new Un;rF(b,d,!1);J(d,1,2);J(d,24,1);q(b.fir)&&J(d,27,b.fir);q(b.nack)&&J(d,28,b.nack);q(b.fps)&&J(d,29,Math.round(b.fps));q(b.rfps)&&J(d,30,Math.round(b.rfps));q(b.dfps)&&J(d,31,Math.round(b.dfps));
q(b.gifps)&&J(d,50,b.gifps);q(b.gofps)&&J(d,51,b.gofps);null!=b.c&&J(d,94,b.c);q(b.owd)&&J(d,89,Math.round(b.owd));q(b.s)?J(d,25,b.s):p(b.s)&&J(d,25,Ra(b.s));null!=b.ss&&x(b.ss,function(a){AF(d,a)});q(b.w)&&d.setWidth(b.w);q(b.h)&&d.setHeight(b.h);uF(a,d,I(c,1),!1);tF(c,d)}},CF=function(a,b,c){if(null!=b){var d=L(c,$n,13);x(b,function(a){var b=new $n;J(b,2,zF(a.f,0));b.wc(Math.round(zF(a.rtt)));J(b,4,zF(a.sb));J(b,5,Math.round(zF(a.sbs)));J(b,90,zF(a.stp));J(b,91,zF(a.sdp));J(b,6,zF(a.rb));J(b,7,
Math.round(zF(a.rbs)));var c=new On;BF(a.lc,c);M(b,8,c);var m=new On;BF(a.rc,m);M(b,9,m);a=c.Ha()||0;J(b,1,a);d.push(b)},a);N(c,13,d)}},BF=function(a,b){null!=a?(J(b,1,a[3]||""),J(b,2,{rtp:1,video_rtp:2,rtcp:3,video_rtcp:4,data_rtp:5,data_rtcp:6}[a[0]]||0),J(b,3,{local:1,stun:2,relay:3}[a[1]]||0),J(b,4,{udp:1,tcp:2,ssltcp:3}[a[2]]||0)):(J(b,1,""),J(b,2,0),J(b,3,0),J(b,4,0))},zF=function(a,b){return q(a)?a:p(a)?Ra(a):l(b)?b:-1},tF=function(a,b){var c=Vn(a);c.push(b);N(a,2,c)},AF=function(a,b){b=Ra(b); var c=I(a,53);c.push(b);J(a,53,c||[])};
var DF=function(){this.m=new S;this.i=new S;this.g=new S};DF.prototype.clear=function(){this.m.clear();this.i.clear();this.g.clear()};
var FF=function(a,b,c,d){var e=b.ssrc;if(null==e)return null;if(d)return a=EF(a.m,e,t(a.l,a,d)),a.update(c,b.bytesSent,b.packetsSent,b.packetsLost);a=EF(a.i,e,t(a.l,a,d));return a.update(c,b.bytesReceived,b.packetsReceived,b.packetsLost)},GF=function(a,b,c){if("false"==b.googActiveConnection)return null;var d=b.googLocalAddress+b.googRemoteAddress;return null!=d?EF(a.g,d,t(a.J,a)).update(c,b.bytesSent,b.bytesReceived):null},EF=function(a,b,c){var d=a.get(b);null==d&&(d=c(),a.set(b,d));return d};
DF.prototype.l=function(a){return new HF(a)};DF.prototype.J=function(){return new IF};var HF=function(a){this.g=-1;this.i=this.m=this.l=0;this.J=a};HF.prototype.update=function(a,b,c,d){var e=null;if(a>this.g){var f=c-this.m,e=d-this.i,f=this.J?f:f+e,e=0<f?Math.round(100*e/f):-1,f=-1;if(0<=this.g)var f=a-this.g,h=b-this.l,f=0<h?Math.round(8*h/f):0;e={Wd:f,Jg:e}}this.g=a;this.l=b;this.m=c;this.i=d;return e};var IF=function(){this.g=-1;this.i=this.m=0}; IF.prototype.update=function(a,b,c){var d=null;if(0<=this.g&&a>this.g)var d=a-this.g,e=b-this.m,f=c-this.i,d={Jh:0<e?Math.round(e/d):0,Eh:0<f?Math.round(f/d):0};this.g=a;this.m=b;this.i=c;return d};
var JF=function(a){return q(a)?a:l(void 0)?void 0:-1},KF=function(a,b){q(a.tabCpuUsage)&&J(b,34,Math.round(a.tabCpuUsage));q(a.browserCpuUsage)&&J(b,92,Math.round(a.browserCpuUsage));q(a.gpuCpuUsage)&&J(b,94,Math.round(a.gpuCpuUsage));q(a.pluginCpuUsage)&&J(b,93,Math.round(a.pluginCpuUsage));q(a.totalCpuUsage)&&J(b,35,Math.round(a.totalCpuUsage));q(a.numOfProcessors)&&b.Qd(Math.round(a.numOfProcessors))},LF=function(a,b){q(a.googAvailableSendBandwidth)&&J(b,40,Math.round(a.googAvailableSendBandwidth));
q(a.googAvailableReceiveBandwidth)&&J(b,41,Math.round(a.googAvailableReceiveBandwidth));q(a.googTransmitBitrate)&&J(b,42,Math.round(a.googTransmitBitrate));q(a.googRetransmitBitrate)&&J(b,43,Math.round(a.googRetransmitBitrate));q(a.googBucketDelay)&&J(b,80,Math.round(a.googBucketDelay))},MF=function(a,b,c){J(b,2,Math.round(JF(a.fractionLost)));J(b,3,Math.round(JF(a.packetsLost)));J(b,4,Math.round(JF(a.highestSequenceNumber)));J(b,5,Math.round(JF(a.googJitterReceived)));b.wc(Math.round(JF(a.googRtt)));
J(b,7,Math.round(JF(a.bytesSent)));J(b,8,Math.round(JF(a.packetsSent)));J(b,9,Math.round(JF(a.bytesReceived)));J(b,10,Math.round(JF(a.packetsReceived)));c?null!=a.googCodecName&&J(b,44,a.googCodecName):(null!=a.googCodecName&&J(b,94,a.googCodecName),q(a.oneWayDelayMs)&&J(b,89,Math.round(a.oneWayDelayMs)),q(a.oneWayMaxDelayMs)&&J(b,112,Math.round(a.oneWayMaxDelayMs)))},NF=function(a,b,c){c?(q(a.audioInputLevel)&&J(b,26,Math.round(a.audioInputLevel)),q(a.googEchoCancellationEchoDelayMedian)&&J(b,46,
Math.round(a.googEchoCancellationEchoDelayMedian)),q(a.googEchoCancellationEchoDelayStdDev)&&J(b,47,Math.round(a.googEchoCancellationEchoDelayStdDev)),q(a.googEchoCancellationReturnLoss)&&J(b,48,Math.round(a.googEchoCancellationReturnLoss)),q(a.googEchoCancellationReturnLossEnhancement)&&J(b,49,Math.round(a.googEchoCancellationReturnLossEnhancement)),q(a.googEchoCancellationQualityMin)&&J(b,63,a.googEchoCancellationQualityMin)):(q(a.audioOutputLevel)&&J(b,26,Math.round(a.audioOutputLevel)),q(a.googPreferredJitterBufferMs)&&
J(b,38,Math.round(a.googPreferredJitterBufferMs)),q(a.googCurrentDelayMs)&&J(b,39,Math.round(a.googCurrentDelayMs)),q(a.googExpandRate)&&J(b,68,a.googExpandRate),q(a.googSpeechExpandRate)&&J(b,103,a.googSpeechExpandRate),q(a.googPreemptiveExpandRate)&&J(b,106,a.googPreemptiveExpandRate),q(a.googAccelerateRate)&&J(b,107,a.googAccelerateRate),q(a.googSecondaryDecodedRate)&&J(b,104,a.googSecondaryDecodedRate),q(a.googDecodingCTSG)&&J(b,81,Math.round(a.googDecodingCTSG)),q(a.googDecodingCTN)&&J(b,82,
Math.round(a.googDecodingCTN)),q(a.googDecodingNormal)&&J(b,83,Math.round(a.googDecodingNormal)),q(a.googDecodingPLC)&&J(b,84,Math.round(a.googDecodingPLC)),q(a.googDecodingCNG)&&J(b,85,Math.round(a.googDecodingCNG)),q(a.googDecodingPLCCNG)&&J(b,86,Math.round(a.googDecodingPLCCNG)))},OF=function(a,b,c){c?(q(a.googFirsReceived)&&J(b,27,Math.round(a.googFirsReceived)),q(a.googNacksReceived)&&J(b,28,Math.round(a.googNacksReceived)),q(a.googFrameRateInput)&&J(b,29,Math.round(a.googFrameRateInput)),q(a.googFrameRateSent)&&
J(b,30,Math.round(a.googFrameRateSent)),q(a.googFrameWidthSent)&&b.setWidth(Math.round(a.googFrameWidthSent)),q(a.googFrameHeightSent)&&b.setHeight(Math.round(a.googFrameHeightSent)),q(a.googQpSent)&&J(b,113,Math.round(a.googQpSent)),q(a.googAdaptationChanges)&&J(b,95,Math.round(a.googAdaptationChanges)),q(a.googAvgEncodeMs)&&J(b,75,Math.round(a.googAvgEncodeMs))):(q(a.googFirsSent)&&J(b,27,Math.round(a.googFirsSent)),q(a.googNacksSent)&&J(b,28,Math.round(a.googNacksSent)),q(a.googFrameRateOutput)&&
J(b,29,Math.round(a.googFrameRateOutput)),q(a.googFrameRateReceived)&&J(b,30,Math.round(a.googFrameRateReceived)),q(a.googFrameRateDecoded)&&J(b,31,Math.round(a.googFrameRateDecoded)),q(a.fpsGraphicsInput)&&J(b,50,a.fpsGraphicsInput),q(a.fpsGraphicsOutput)&&J(b,51,a.fpsGraphicsOutput),q(a.googFrameWidthReceived)&&b.setWidth(Math.round(a.googFrameWidthReceived)),q(a.googFrameHeightReceived)&&b.setHeight(Math.round(a.googFrameHeightReceived)),q(a.googQpReceived)&&J(b,113,Math.round(a.googQpReceived)))}, PF=function(a,b){b.wc(Math.round(JF(a.googRtt)));J(b,4,Math.round(JF(a.bytesSent)));q(a.packetsSent)&&J(b,90,Math.round(a.packetsSent));q(a.packetsDiscardedOnSend)&&J(b,91,Math.round(a.packetsDiscardedOnSend));J(b,6,Math.round(JF(a.bytesReceived)))};
var QF=function(){this.i=new DF;this.g=-1},UF=function(a,b){if(null==b||null==b[2]||null==b[3])return null;var c=new Tn,d=RF(b[3]);J(c,1,Math.round(d));a.g=d;for(var e=-1,d=4;d<b.length;++d)Ab(b[d],function(a,b){switch(b){case "global":null!=a&&null!=a.jmiVersion?(KF(a,c),e=RF(a.jmiVersion)):e=0;break;case "ssrc":if(null!=a){var d=Gb(a,"audioInputLevel")||Gb(a,"audioOutputLevel"),n=Gb(a,"bytesSent"),r=new Un;J(r,1,d?1:2);J(r,24,n?0:1);q(a.ssrc)&&(J(r,25,a.ssrc),J(r,53,[a.ssrc]));MF(a,r,n);if(d)NF(a,
r,n);else if(OF(a,r,n),n){var d=Zn.Ce,w=SF(a.googCpuLimitedResolution),A=SF(a.googBandwidthLimitedResolution),F=SF(a.googViewLimitedResolution);null!=w&&null!=A&&null!=F&&(w&&(d|=Zn.Be),A&&(d|=Zn.Ae),F&&(d|=Zn.De));J(r,65,d)}d=FF(this.i,a,this.g,n);null!=d&&(J(r,2,d.Jg),n?J(r,42,d.Wd):J(r,96,d.Wd));TF(c,r)}break;case "VideoBwe":null!=a&&(n=new Un,J(n,1,2),J(n,24,2),LF(a,n),J(n,2,-1),J(n,3,-1),J(n,4,-1),J(n,5,-1),n.wc(-1),J(n,7,-1),J(n,8,-1),J(n,9,-1),J(n,10,-1),TF(c,n));break;case "googCandidatePair":null!=
a&&(n=L(c,$n,13),r=new $n,PF(a,r),d=0,"true"==a.googActiveConnection&&(d|=1),"true"==a.googWritable&&(d|=2),"true"==a.googReadable&&(d|=4),J(r,2,d),d=new On,w=new On,J(d,1,a.googLocalAddress||""),J(w,1,a.googRemoteAddress||""),A=a.googChannelId,F=0,wa(A,"Channel-audio-")?F=1:wa(A,"Channel-video-")&&(F=2),J(d,2,F),J(w,2,F),A={local:1,stun:2,relay:3},J(d,3,A[a.googLocalCandidateType]||0),J(w,3,A[a.googRemoteCandidateType]||0),A={udp:1,tcp:2,ssltcp:3}[a.googTransportType]||0,J(d,4,A),J(w,4,A),M(r,8,
d),M(r,9,w),d=d.Ha(),J(r,1,d),d=GF(this.i,a,this.g),J(r,5,d?d.Jh:-1),J(r,7,d?d.Eh:-1),n.push(r),N(c,13,n))}},a);return 3!=e?null:c},TF=function(a,b){var c=b||new Un,d=Vn(a);d.push(c);N(a,2,d)},RF=function(a){return q(a)?a:l(void 0)?void 0:-1},SF=function(a){return"true"!=a&&"false"!=a?null:"true"==a};
var VF=function(){},WF={ei:"anyWritable",bi:"allWritable",di:"anyTcp",ci:"anyRelay",Uf:"smoothedBWRecv",Vf:"smoothedBWSend"};VF.prototype.parse=function(a){var b=mF;if(null==a||"trstate"!=a[b.ki])return null;var c=new Lw;c.Fa(a[b.ji]);a=a[b.ii];if(null==a)return null;b=WF;J(c,2,!!a[b.ei]);J(c,3,!!a[b.bi]);J(c,4,!!a[b.di]);J(c,5,!!a[b.ci]);q(a[b.Uf])&&J(c,6,a[b.Uf]);q(a[b.Vf])&&J(c,7,a[b.Vf]);return c};
var XF=function(){this.u=new qF;this.J=new QF;this.T=new VF;this.l=Pb(yu)},YF={o:"a",q:"v",p:"d"},ZF={o:"audio",q:"video",p:"data"},$F={audio:"o",video:"q",data:"p"},aG={ICE:"urn:xmpp:jingle:transports:ice-udp:1",GICE:"http://www.google.com/transport/p2p"},bG=new ff(640,360),fG=function(a,b){null!=b||(b=[]);var c=b[4];null!=c||(c={});var d=cG(c.audioCodecs,t(a.F,a))||[],e=cG(c.videoCodecs,t(a.G,a))||[],f=cG(c.audioRtpHdrExts,t(a.jh,a,"o"))||[],h=cG(c.videoRtpHdrExts,t(a.jh,a,"q"))||[],m=cG(c.cryptoSuites,
t(a.g,a))||[],n=a.g(c.cryptoRandom)||"",r=dG(b,2,p,"0.0.0"),w=eG(c,"o3dVersion",p,"0"),A=eG(c,"bundle",q,0);eG(c,"unsignalledRecvStreams",q,0);var F=cG(c.transports,t(a.g,a))||[],O=eG(c,"iceVersion",q,0),c=eG(c,"egressStartBwe",q,-1);return new pF(d,e,f,h,m,n,r,w,A,F,O,c)},gG=function(a){return a?["getdevicestate",!0]:["getdevicestate"]},hG=function(a,b,c,d){var e={};x(d,function(a){var b=YF[a.fa()];null!=b&&(null!=e[b]||(e[b]={streams:[],partial:!0}),e[b].streams.push(this.i(a)))},a);null!=e.d||
(e.d={partial:!0,streams:[]});return["jrtp",b,c,e]},jG=function(a,b,c,d){var e={};x(d,function(a){var b=YF[a.fa()];null!=b&&(null!=e[b]||(e[b]=[]),e[b].push(iG(a)))},a);return["jv",b,c,e]},mG=function(a,b){var c={},d=YF.o,e=b.g,f=b.J;null!=e&&null!=d&&(c[d]=kG(a,e,f));d=b.i;e=YF.q;null!=d&&null!=e&&(c[e]=kG(a,d,f));d=b.m;e=YF.p;null!=d&&null!=e&&(c[e]=kG(a,d,f),b.l&&(c[e].streams=c[e].streams||[],c[e].streams.push(a.i(lG(b.l)))));return c},lG=function(a){var b=a.g;a=a.getChannelId()||"";return new Qp("p",
a,"",b.toString(),[b],[])},oG=function(a,b){var c={},d=YF.o,e=b.g;null!=e&&null!=d&&(c[d]=nG(a,e));d=b.i;e=YF.q;null!=d&&null!=e&&(c[e]=nG(a,d));return c},kG=function(a,b,c){var d={codecs:y(sp(b),a.m,a),crypto:y(vp(b),a.ri,a),"rtp-hdrext":y(B(b.i),a.ih,a),rtcp_mux:!0};c&&(d.bundle=!0);c=zp(b);0<c.length&&(d.streams=y(c,a.i,a));a=b.g;null!=a&&(b={type:aG[a.nb()],ufrag:a.i,pwd:a.g},"lite"==a.l&&(b.mode=a.l),d.transport=b);return d},nG=function(a,b){return{partial:!0,codecs:y(sp(b),a.m,a),"rtp-hdrext":y(B(b.i),
a.ih,a)}};XF.prototype.m=function(a){var b;switch(a.fa()){case "o":b=[a.g,a.getName(),a.i,a.l,a.m];break;case "q":b=[a.g,a.getName(),bG.width,bG.height,30];break;case "p":b=[a.g,a.getName()];break;default:return[a.g,a.getName()]}a=a.getParams();for(var c={},d=0;d<a.length;d++)c[a[d].g]=a[d].i;0<Cb(c)&&b.push(c);return b};XF.prototype.F=function(a){var b=dG(a,0,q,null),c=dG(a,1,p,null),d=dG(a,2,q,0),e=dG(a,3,q,0);a=dG(a,4,q,0);return null!=b&&null!=c?new No("o",b,c,e,a,d):null};
XF.prototype.G=function(a){var b=dG(a,0,q,null),c=dG(a,1,p,null);if(null==b||null==c)return null;a=pG(a[5]);b=new No("q",b,c);null!=a&&(b=Po(b,a));return b};var pG=function(a){if(null==a)return null;var b=[];Ab(a,function(a,d){p(a)&&b.push(new Mo(d,a))});return b.length!=Cb(a)?null:b};g=XF.prototype;g.ri=function(a){return{cs:a.m,kp:a.g,tag:a.i}};g.ih=function(a){return{uri:a.g,id:a.getId()}};g.jh=function(a,b){var c=qG(b,"uri"),d=rG(b,"id");return null!=c&&null!=d?new mp(c,d,a):null};
g.pi=function(a){var b={media:ZF[a.fa()],component:a.fc,priority:a.Mc,type:sG(a.sa()),protocol:tG(a.oc),ip:a.Hc,port:a.Qc,foundation:a.hd,generation:a.Dc,network:a.od};null!=a.uc&&(b.relatedIp=a.uc);null!=a.vc&&(b.relatedPort=a.vc);return b};
g.Sk=function(a){var b=$F[qG(a,"media")||""],c=rG(a,"component"),d=uG(qG(a,"protocol")||""),e=qG(a,"ip"),f=rG(a,"port"),h=rG(a,"priority"),m=vG(qG(a,"type")||"");if(null==b||null==c||null==d||null==e||null==f||null==h||null==m)return null;var n=eG(a,"generation",q,0),r=eG(a,"foundation",p,""),w=eG(a,"network",p,""),A=eG(a,"relatedIp",p,"");a=eG(a,"relatedPort",q,-1);b=new Lo(b,c,h,m,d,e,f,r,n,w);""!=A&&(b=Nb(b),b.uc=A);-1!=a&&(A=Nb(b),A.vc=a,b=A);return b};
var tG=function(a){switch(a){case "UDP":return"udp";case "TCP":return"tcp";case "SSLTCP":return"ssltcp"}return null},uG=function(a){switch(a){case "udp":return"UDP";case "tcp":return"TCP";case "ssltcp":return"SSLTCP"}return null},sG=function(a){switch(a){case "LOCAL":return"local";case "STUN":return"stun";case "RELAY":return"relay"}return null},vG=function(a){switch(a){case "local":return"LOCAL";case "stun":return"STUN";case "relay":return"RELAY"}return null};
XF.prototype.i=function(a){var b={groupid:a.Y(),streamid:a.g,ssrcs:a.Va()};0<B(a.m).length&&(b.ssrcGroups=y(B(a.m),this.H,this));return b};XF.prototype.H=function(a){return{semantics:a.g,ssrcs:a.Va()}};
var iG=function(a){var b={type:"static",groupid:a.Y(),streamid:a.i};null!=Oy(a)&&(b.width=Oy(a).width,b.height=Oy(a).height);null!=a.Rb&&(b.framerate=a.Rb);return b},wG=function(a){switch(a[4].event){case "window-close":return"pb";case "window-minimize":return"nb";case "window-stop-sharing":return"pb"}return null},xG=new S({neon:1,sse2:2,ssse3:4,sse4_1:8,sse4_2:16,avx:32}),yG=function(a){if(null==a)return-1;var b=a.cpuFlags;if(!ia(b))return a=a.cpuHasSSE2,null!=a?a?2:-1:-1;var c=0;x(b,function(a){c|=
xG.get(a,0)});return c},eG=function(a,b,c,d){if(null==a)return d;a=a[b];return null!=a&&c(a)?a:d},dG=function(a,b,c,d){if(null==a||!ia(a))return d;a=a[b];return null!=a&&c(a)?a:d},rG=function(a,b){return eG(a,b,q,null)},qG=function(a,b){return eG(a,b,p,null)};XF.prototype.g=function(a){return null!=a&&p(a)?""+a:null};var cG=function(a,b){if(null==a||!ia(a))return null;for(var c=[],d=0;d<a.length;d++){var e=a[d];if(null==e)return null;e=b(e);if(null==e)return null;c.push(e)}return c};
var zG=function(){this.i=-1;this.i=64;this.g=[];this.u=[];this.F=[];this.l=[];this.l[0]=128;for(var a=1;a<this.i;++a)this.l[a]=0;this.J=this.m=0;this.reset()};v(zG,gA);zG.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.g[4]=3285377520;this.J=this.m=0};
var AG=function(a,b,c){c||(c=0);var d=a.F;if(p(b))for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.g[0];c=a.g[1];for(var h=a.g[2],m=a.g[3],n=a.g[4],r,e=0;80>e;e++)40>e?20>e?(f=m^c&(h^m),r=1518500249):(f=c^h^m,r=1859775393):60>e?(f=c&h|m&(c|h),r=2400959708):(f=c^h^m,r=3395469782),
f=(b<<5|b>>>27)+f+n+r+d[e]&4294967295,n=m,m=h,h=(c<<30|c>>>2)&4294967295,c=b,b=f;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+c&4294967295;a.g[2]=a.g[2]+h&4294967295;a.g[3]=a.g[3]+m&4294967295;a.g[4]=a.g[4]+n&4294967295};
zG.prototype.update=function(a,b){if(null!=a){l(b)||(b=a.length);for(var c=b-this.i,d=0,e=this.u,f=this.m;d<b;){if(0==f)for(;d<=c;)AG(this,a,d),d+=this.i;if(p(a))for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.i){AG(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.i){AG(this,e);f=0;break}}this.m=f;this.J+=b}};
zG.prototype.digest=function(){var a=[],b=8*this.J;56>this.m?this.update(this.l,56-this.m):this.update(this.l,this.i-(this.m-56));for(var c=this.i-1;56<=c;c--)this.u[c]=b&255,b/=256;AG(this,this.u);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.g[c]>>d&255,++b;return a};
var CG=function(a,b){var c=window.crypto||window.msCrypto;c&&c.getRandomValues&&!b&&(this.m=!0,this.i=Infinity,this.H=!0);if(a&&160>a&&a>this.i){var c=this.g,d=this.i;this.g="";this.i=a;BG(this,c,Math.max(0,d));this.H=!1}},JG=function(a){function b(a){return function(){try{return eval(a)}catch(b){return b.message}}.call(f,void 0)}var c={},d=window.localStorage||{},e=window.sessionStorage||{},f=a;if(!a.m){c.Tn=DG();c.Vn=(new Date).toLocaleString();c.local={};for(var h=0;h<d.length;h++){var m=d.key(h);
c.local[m]=d[m]}c.session={};for(h=0;h<e.length;h++)m=e.key(h),c.session[m]=e[m];c.Xn=Math.random();c.Yn=Math.random();h=1E4*Math.random()+1E4;for(d={};e=Math.floor(Math.random()*h),!d[e];)d[e]=1;c.Zn=Math.random();c.wi=0;for(c.xi=DG();75>DG()-c.xi;)c.wi++;c.Sn=b("window.history.length");c.window=EG(window);c.document=EG(document);c.screen=EG(window.screen);c.documentElement=EG(b("document.documentElement"));c.navigator=EG(window.navigator);c.performance=b("JSON.stringify(performance)");c.Rn=[];b("this.winIterate_(window, getData);");
c.plugins=[];if(navigator.plugins)for(h=0;h<navigator.plugins.length;h++){d=navigator.plugins[h];e=EG(d);e.media=[];for(m=0;m<d.length;m++)e.media.push(EG(d[m]));c.plugins.push(e)}FG(a);GG(a);setInterval(function(){HG(f)},6E4);setTimeout(function(){HG(f)},1);c.Qn=DG();BG(a,IG(c),0)}},DG=function(){return window.performance&&window.performance.now&&window.performance.timing&&window.performance.timing.navigationStart?window.performance.now()+window.performance.timing.navigationStart:(new Date).getTime()};
CG.prototype.m=!1;CG.prototype.g="";CG.prototype.G="";CG.prototype.J=0;
var KG=["click","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","selectstart","keypress","keydown","keyup","blur","focus","change","select","submit","input","touchstart","touchmove","touchend","touchcancel","beforeunload","DOMContentLoaded","load","orientationchange","readystatechange","resize","scroll","unload","hashchange","pagehide","pageshow","popstate",ed,fd,gd,hd,"pointerdown","pointerup","pointermove","pointerenter","pointerleave","visibilitychange"];
CG.prototype.i=-1;
var HG=function(a){if(!a.m)try{var b=new zG;b.update(a.g);b.update(String(DG()));window.localStorage.setItem("/google/crypt/Random/seed.key",String.fromCharCode.apply(String,b.digest()))}catch(c){}},EG=function(a,b){var c={},d={},e=b||{};if(null==a)return{type:typeof a};try{a.constructor&&(d=a.constructor.prototype);a.__proto__&&(d=a.__proto__);for(var f in a)if(a[f]!=d[f]&&a[f]!=e[f]&&"function"!=typeof a[f])try{c[f]=String(a[f]),100<c[f].length&&(c[f]=c[f].substr(0,50)+c[f].substr(c[f].length-50)+
","+c[f].length)}catch(h){c[f]=String(h+": "+h.message)}}catch(h){c={message:String(h.message)}}return c};g=CG.prototype;g.$d=0;g.Ig=0;g.Me=0;g.Hg=null;g.ff=null;g.gf="";
var LG=function(a,b,c){var d,e,f,h={};d=Math.floor(DG()/1E3);d==a.Ig?a.Me++:(a.Me=1,a.Ig=d);if(!(10<a.Me)){var m={beforepaste:1,beforecopy:1,beforecut:1,keydown:1,mousemove:1,mousedown:1,touchstart:1};for(e in b)d=a.Hg||{},d[e]!=b[e]&&("object"==typeof b[e]?h[e]=EG(b[e],d[e]):b[e]==d[e]||"function"==typeof b[e]||b.constructor&&b.constructor.prototype==b[e]||(h[e]=String(b[e])));h.time=DG();a.l.push(h);if(b.target!=a.ff||b.type!=a.gf)a.$d+=m[b.type]||0;a.Hg=b;a.ff=b.target||null;a.gf=b.type;c==window&&
(a.ff=null,a.gf="");if(10<=a.l.length){var n=a.l,r=a.$d;f=0;var w=new zG,A=setInterval(function(){f>=n.length?(clearInterval(A),BG(a,String.fromCharCode.apply(String,w.digest()),r)):w.update(IG(n[f++]))},10);a.l=[];a.$d=0}}},GG=function(a){var b=function(b){LG(a,b,this)};a.l=[];xd(window,"devicemotion",b);xd(window,"deviceorientation",b);for(var c=0;c<KG.length;c++){var d=KG[c];p(d)&&(xd(window,d,b),xd(document,d,b),document.documentElement&&xd(document.documentElement,d,b))}xd(window,"error",b)};
CG.prototype.F=0;
var FG=function(a){a.F=DG();a.u=[];setInterval(function(){var b=DG(),c=Math.abs(b-100-a.F)%100;a.F=b;1<c&&(a.u.push([c,DG(),Math.random()]),10<a.u.length&&(BG(a,IG(c),5),a.u=[]))},100)},BG=function(a,b,c){if(!a.m){b=a.G+b;var d=new zG;d.update(b);b=String.fromCharCode.apply(String,d.digest());a.J+=c;a.J>=a.i?(d.reset(),d.update("SEED_SALT:"+b+a.g),a.g=String.fromCharCode.apply(String,d.digest()),a.G="",a.J=0,a.H=!0):a.G=b}},NG=function(a,b){var c=[];if(a.m)c=new window.Uint8Array(Math.min(65536,b||
1)),(window.crypto||window.msCrypto).getRandomValues(c),c=[].slice.call(c);else{if(0>a.i||0==a.g.length)throw new MG;var d=new zG;d.update("RANDOM_SALT:"+a.g);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+a.g),a.g=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,b||e.length))}return c},OG=function(a,b){for(var c=[],d=0;c.length<b&&d<2*b;)c.push.apply(c,NG(a,b-c.length)),d++;if(c.length<b)throw new MG;return c.slice(0,b)},MG=function(){};v(MG,Error);MG.prototype.name="Insufficient Entropy"; var IG=function(a){if(window.JSON)try{return window.JSON.stringify(a)}catch(d){}var b=[],c;for(c in a)try{"object"==typeof a[c]?b.push(c,IG(a[c])):b.push(c,a[c])}catch(d){b.push(c,d.message)}return b.join(",")};
var QG=function(a,b){T.call(this);this.l=new U(this);this.m(this.l);this.i=new XF;this.g=a;this.l.listen(this.g,"f-msg",this.K);this.l.listen(this.g,"i-msg",this.G);this.l.listen(this.g,"m",this.M);this.l.listen(this.g,"h",this.H);this.u=null!=b?b:new CG(16,!1);var c=PG(this).m;!ya(La(c))&&16<=c.length&&BG(this.u,c,c.length)};v(QG,T);
var PG=function(a){return fG(a.i,a.g.pb(!1))},RG=function(a){var b=a.i,c=a.g.pb(!1);a={};null!=c&&null!=c[4]&&(a=c[4]);c=new Do;J(c,1,b.g(a.os));J(c,14,jr);if(null!=a.connectsequence){var d=Jc(a.connectsequence);J(c,13,d)}J(c,15,b.g(a.browser));J(c,16,Hk);d=rG(a,"cpuFamily");J(c,2,d);d=rG(a,"cpuModel");J(c,3,d);d=rG(a,"cpuStepping");J(c,4,d);J(c,5,b.g(a.cpuVendor));c.Qd(rG(a,"cpus"));d=rG(a,"cpuSpeed");J(c,7,d);d=rG(a,"cpuCacheSize");J(c,17,d);d=yG(a);J(c,18,d);J(c,8,b.g(a.gpuDescription));d=rG(a,
"gpuVendorId");J(c,9,d);d=rG(a,"gpuDeviceId");J(c,10,d);J(c,11,b.g(a.gpuDriver));J(c,12,b.g(a.gpuDriverVersion));J(c,19,b.g(a.machineModel));J(c,20,b.g(a.camDeviceName));return c},SG=function(a){var b;if(b=a.g.Fc("5.39.0"))a=PG(a),b=z(a.F,"ice")&&1<=a.G;return b},TG=function(a,b){try{return OG(a.u,b)}catch(c){return JG(a.u),OG(a.u,b)}},VG=function(a,b){UG(a,["mediaeffects","audioplayer@talk.google.com","audioplayer",b])};QG.prototype.N=function(a,b){UG(this,["jtone",a,b,"ringback",0,1])};
var WG=function(a){UG(a,["jn","audioplayer@talk.google.com","audioplayer","t","s"]);UG(a,["micon","audioplayer@talk.google.com","audioplayer"])},iF=function(a,b,c,d,e,f){var h=null==f||f;a:{switch(d){case "o":b=["mute",b,c,h,e];break a;case "q":b=["vmute",b,c,h,e];break a}b=null}null!=b&&UG(a,b);"o"==d||a.g.Ic()||V(function(){this.dispatchEvent(new XG(d,h,e))},0,a)},YG=function(a,b,c){UG(a,["losecallfocus",b,c])},ZG=function(a,b,c){UG(a,["setcallfocus",b,c])},$G=function(a,b,c,d){d=y(d,a.F,a);b=hG(a.i,
b,c,d);UG(a,b)};QG.prototype.Xb=function(a,b,c){a=jG(this.i,a,b,c);UG(this,a)};var UG=function(a,b){var c=a.g;"jn"==b[0]&&c.dispatchEvent("b");c.xc(b)};
QG.prototype.K=function(a){var b;b=Me(a);if(null!=b){var c=b[0];if(null!=c)switch(a=b[2],c){case "jai":if(null==b[4])b=new cF(0,{});else{c=null!=b[3]?b[3]/5:void 0;null!=c||(c=0);b=b[4][1];null!=b||(b=[]);for(var d={},e=0;e<b.length;e++){var f=b[e][0],h=b[e][1]/5;null!=f&&null!=h&&(d[f]=h)}b=new cF(c,d)}this.dispatchEvent(new aH(a,b));break;case "jc":c=this.i;b=b[3];b=null!=b?cG(b,t(c.Sk,c))||[]:null;null!=b&&this.dispatchEvent(new bH(a,b));break;case "data-receive":5>b.length?b=null:(c=qG(b[3],"groupid")||
qG(b[3],"nick"),d=qG(b[3],"streamid")||qG(b[3],"name"),b=dG(b,4,p,null),b=null!=c&&null!=d&&null!=b?{tb:c,vd:d,payload:b}:null);null!=b&&this.dispatchEvent(new cH(a,b.tb,b.vd,b.payload));break;case "getdevicestate":a=new oF(b,this.g.$e(),this.g.Ze(),this.g.Qe());this.dispatchEvent(new dH(a));break;case "jhb":c=dG(b,3,la,!1);b=dG(b,4,la,!1);this.dispatchEvent(new eH(a,c,b));break;case "latency-events":b=4>b.length?null:eG(b[3][0],"key",p,"");null!=b&&this.dispatchEvent(new fH(a,b));break;case "jmiend":a=
dG(b,2,p,"Unknown");b=dG(b,5,q,-1);this.dispatchEvent(new gH(a,b));break;case "ping":a=dG(b,2,p,"Unknown");UG(this,["pong",a]);break;case "jt":c=this.i;dG(b,4,p,null);b=parseInt(b[3],10);b in c.l||(b=6);this.dispatchEvent(new hH(a,b));break;case "f-dead":this.dispatchEvent(new iH("57"));break;case "termall":this.dispatchEvent(new jH(4));break;case "fe":a=dG(b,2,p,"Unknown");c=b[3];null!=c||(c="Unknown");b=b[4];this.dispatchEvent(new kH(c,a,b));break;case "share-result":a:{switch(b[4]){case 0:b="ob";
break a;case 1:b="pb";break a}b="mb"}this.dispatchEvent(new lH(a,b));break;case "share-notify":b=wG(b);null!=b&&this.dispatchEvent(new lH(a,b));break;case "jtr":a=dG(b,2,p,"Unknown");c=b[3].a;b=qG(c,"ufrag");c=qG(c,"pwd");null!=b&&null!=c&&this.dispatchEvent(new mH(a,b,c));break;case "trstate":b=this.i.T.parse(b),null!=b&&this.dispatchEvent(new nH(a,b))}}};
QG.prototype.H=function(a){"unchanged"!=a.g&&"unknown"!=a.g&&this.dispatchEvent(new XG("o",a.l,a.g));"unchanged"!=a.m&&"unknown"!=a.m&&this.dispatchEvent(new XG("q",a.u,a.m))};
QG.prototype.G=function(a){var b=Me(a);if(null!=b&&(a=b[0],null!=a&&("jmidata"==a||"jmidatav3"==a))){a=b[2];var c=this.i;if("jmidatav3"==b[0])b=UF(c.J,b);else if(c=c.u,null!=b&&b[2]&&b[3]){var d=new Tn,e;e=b[6];null==e?e=0:(null!=e.cpu&&J(d,34,Math.round(e.cpu)),null!=e.bcpu&&J(d,92,Math.round(e.bcpu)),null!=e.gcpu&&J(d,94,Math.round(e.gcpu)),null!=e.vfxcpu&&J(d,93,Math.round(e.vfxcpu)),null!=e.tcpu&&J(d,35,Math.round(e.tcpu)),null!=e.cpus&&d.Qd(e.cpus),null!=e.t&&J(d,54,Math.round(e.t)),e=zF(e.v));
2!=e?b=null:(e=-1,q(b[3])?e=b[3]:p(b[3])&&(e=parseFloat(b[3])),J(d,1,Math.round(e)),e=b[4],null!=e&&(vF(c,e[0],d),yF(c,e[1],d)),b=b[5],null!=b&&(CF(c,b[0],d),CF(c,b[1],d)),b=d)}else b=null;null!=b&&this.dispatchEvent(new oH(a,b))}};var pH=function(a,b){var c=b.g;return null!=c&&$a(zp(c),function(a){return 1<a.Va().length},a)?Mp(b,Ap(c,y(zp(c),a.F,a))):b};QG.prototype.F=function(a){if("o"!=a.fa())return a;var b=a.Va();1>=b.length||(a=Nb(a),a.J=B([b[0]]));return b=a};
QG.prototype.M=function(a){a=a.json;if(null!=a){var b=a[0];null!=b&&"mf"==b&&(a=fG(this.i,a).m,!ya(La(a))&&16<=a.length&&BG(this.u,a,a.length))}};var bH=function(a,b){R.call(this,"zb");this.sessionId=a;this.g=b};v(bH,R);var oH=function(a,b){R.call(this,"Bb");this.sessionId=a;this.g=b};v(oH,R);var gH=function(a,b){R.call(this,"Ab");this.sessionId=a;this.m=b};v(gH,R);var kH=function(a,b,c){R.call(this,"vb");this.errorCode=a;this.sessionId=b;this.m=c};v(kH,R);
var iH=function(a){R.call(this,"wb");this.errorCode=a};v(iH,R);var aH=function(a,b){R.call(this,"qb");this.sessionId=a;this.g=b};v(aH,R);var hH=function(a,b){R.call(this,"Eb");this.sessionId=a;this.g=b};v(hH,R);var jH=function(a){R.call(this,"ub");this.g=a};v(jH,R);var dH=function(a){R.call(this,"sb");this.g=a};v(dH,R);var XG=function(a,b,c){R.call(this,"tb");this.mediaType=a;this.muted=b;this.reason=c};v(XG,R);var lH=function(a,b){R.call(this,"Db");this.sessionId=a;this.g=b};v(lH,R);
var mH=function(a,b,c){R.call(this,"Fb");this.sessionId=a;this.Sc=b;this.Nc=c};v(mH,R);var nH=function(a,b){R.call(this,"Gb");this.sessionId=a;this.g=b};v(nH,R);var eH=function(a,b,c){R.call(this,"xb");this.sessionId=a;this.g=b;this.m=c};v(eH,R);var fH=function(a,b){R.call(this,"yb");this.sessionId=a;this.message=b};v(fH,R);var cH=function(a,b,c,d){R.call(this,"rb");this.sessionId=a;this.tb=b;this.vd=c;this.payload=d};v(cH,R);
var qH=function(a){T.call(this);this.K={};this.P=new iC(function(){if(!Kb(this.K)){var a=this.l;if(a.i){var c={oi:a.dg,Di:a.mg,ai:a.ze,ag:a.Ud,cg:a.Vd};Rb(c,this.K);a.i.xc(Wf(a,c));Pf(a)}this.K={}}},250,this);this.H=new U(this);this.m(this.H);this.G=a;this.l=a.g.ve();this.F=this.g=this.M=this.i=this.u=null;this.H.listen(this.G,"Db",this.Pk);this.H.listen(this.G,"sb",this.N);this.H.listen(this.G,"tb",this.O);this.H.listen(this.l,["p","q"],ta(this.dispatchEvent,"hb"))};v(qH,T);
qH.prototype.N=function(a){var b=a.g;a=rH(b.u,b.g,b.l);b=rH(b.J,b.g,b.m);null!=this.i&&hF(this.i,a);null!=this.u&&hF(this.u,b)};qH.prototype.O=function(a){var b="q"==a.mediaType?this.i:this.u;if(null!=b){var c=a.muted;a=a.reason;"unknown"!=a&&"unchanged"!=a&&"pre-call"!=a&&"Ha"!=b.g.hb()&&("user"!=a&&(b.u=c),b.F!=c&&(b.F=c,gF(b)))}};var rH=function(a,b,c){return null!=a?c?"rb":4==b?"qb":3==b?"nb":"ob":"pb"};g=qH.prototype;
g.Ph=function(){if(null!=this.i)return qj("Camera capture is in use.");UG(this.G,gG(void 0));this.M=new sH(this);this.i=new fF(this.G,this.M);this.H.listen(this.i,"fb",t(function(){null!=this.i&&"sb"==this.i.i&&(this.i=null)},this));return pj(this.i)};g.Oh=function(){if(null!=this.u)return qj("Audio capture is in use.");UG(this.G,gG(void 0));this.u=new fF(this.G,new Ty("","1","o"));this.H.listen(this.u,"fb",t(function(){null!=this.u&&"sb"==this.u.i&&(this.u=null)},this));return pj(this.u)};
g.oe=function(a){this.l=this.G.g.ve();var b,c,d;switch(a){case "tb":d=B(this.l.l);c=this.l.Ud;b="mic";break;case "ub":d=B(this.l.u);c=this.l.Vd;b="speakers";break;case "vb":d=B(this.l.F),c=this.l.ze,b="camera"}ob(d);a=y(d,function(a){return new XB(a,a,a==c)});d=Ya(Uf(this.l),function(a){return a.device==b});d=y(d,function(a){return new YB(a.title,a.g||a.message,null!==a.g)});return new WB(a,d)};
g.te=function(a,b){switch(a){case "tb":this.K.ag=b;break;case "ub":this.K.cg=b;break;case "vb":this.K.ai=b}this.P.start()};g.Pk=function(a){if(null!=this.g&&null!=this.F){var b=kF(this.i);if(null!=b&&b==a.sessionId)switch(a.g){case "ob":tH(this);break;case "mb":uH(this,!0);break;case "pb":case "nb":uH(this,!1)}}};
var tH=function(a){hF(a.g,"nb");a.H.listen(a.g,"fb",t(function(){null==this.g||"pb"!=this.g.i&&"sb"!=this.g.i||uH(this,!1)},a));a.F.ma(a.g);a.M&&vH(a.M)},uH=function(a,b){if(null!=a.g&&null!=a.F)if(a.F.i){a.F=null;var c=a.g;a.g=null;a.M&&vH(a.M);var d=kF(a.i);null!=d&&UG(a.G,["share-remove","",d,0]);hF(c,"pb")}else b&&hF(a.g,"rb"),a.F.g(a.g),a.F=null,a.g=null},sH=function(a){Ty.call(this,"","2","q","Ga");this.u=a;this.g=null;vH(this)};v(sH,Ty);
var vH=function(a){var b=a.u.F&&a.u.F.i?a.u.g.g:null;b!=a.g&&(a.g=b,a.dispatchEvent("Ka"),a.dispatchEvent("Ma"),a.dispatchEvent("Na"))};sH.prototype.hb=function(){return this.g?this.g.hb():sH.ha.hb.call(this)};sH.prototype.getState=function(){return this.g?this.g.getState():sH.ha.getState.call(this)};sH.prototype.l=function(){return this.g?this.g.l():sH.ha.l.call(this)};
var wH=function(a,b){Jp.call(this,b,"f");this.F=a;this.g=!1};v(wH,Jp);wH.prototype.aa=function(){return this.F.aa()};var yH=function(a,b,c,d,e){cp.call(this);this.u=new U(this);this.m(this.u);this.i=a;this.qa=this.N=!1;this.g=b;this.u.listen(this.g,"rb",this.Qk);this.u.listen(this.g,"ub",this.uj);this.u.listen(this.g,"vb",this.vj);this.u.listen(this.g,"wb",this.wj);this.u.listen(this.g,"xb",this.xj);this.u.listen(this.g,"yb",this.yj);this.u.listen(this.g,"zb",this.zj);this.u.listen(this.g,"Bb",this.Bj);this.u.listen(this.g,"Ab",this.Aj);this.u.listen(this.g,"Db",this.Rk);this.u.listen(this.g,"Eb",this.Cj);this.u.listen(this.g,
"Fb",this.yk);this.u.listen(this.g,"Gb",this.Ak);this.ya=c;this.F="h";this.U=[];this.ba=this.da=this.P=null;this.G=[];this.S=[];this.Z=this.O=null;this.K=void 0;this.W=!1;this.va=d;this.pa=!0;this.H={};this.wa=this.g.g.ue();this.la=e;this.M=xH(this,e)};v(yH,cp);var zH=function(a,b,c,d){a.F!=b&&(a.F=b,!q(a.K)&&q(c)&&(a.K=c),a.dispatchEvent(new Io(a.F,a.K,d)))};yH.prototype.getState=function(){return this.F};yH.prototype.aa=function(){return this.i};yH.prototype.Ld=function(){return this.M};
var xH=function(a,b){var c=PG(a.g);if(null==c)return null;b.u||(a.pa=!1);var d=B(c.l),e=B(c.H),f=B(c.J),h=B(c.T),m=[new No("p",101,"google-data")];a.qa=SG(a.g);var n=a.qa?"ICE":"GICE";a.N=1<=c.u;var r=null,w=null;a.N&&(r=AH(a,Ya(B(c.g),function(a){return"AES_CM_128_HMAC_SHA1_32"!=a},a)),w=BH(a,n));d=new qp("o",d,r||AH(a,B(c.g)),f,w||BH(a,n));f=null;b.M&&(f=new qp("q",e,r||AH(a,Ya(B(c.g),function(a){return"AES_CM_128_HMAC_SHA1_32"!=a},a)),h,w||BH(a,n)));e=null;b.F&&(e=new qp("p",m,r||AH(a,B(c.g)),
[],w||BH(a,n)));c=b.g?[8579373]:CH(a,1);a.P=new Qp("o","","1",a.i+"/1",c,[]);c=b.G?3:1;c=b.g?[8579374]:CH(a,c);m=[];1<c.length&&(n=new Pp("SIM",c),m.push(n));a.g.g.Yd();a.da=new Qp("q","","2",a.i+"/2",c,m);c=CH(a,1);a.ba=new Qp("p","","3",a.i+"/3",c,[]);var d=new Kp(d,f,e,void 0,a.N,null,a.va),A=a.g.g.Yd()&&!1;return d=DH(d,t(function(a){a=a.getName();return 0==Aa(a,"VP8")||0==Aa(a,"H264-SVC")||A&&0==Aa(a,"rtx")},a))},DH=function(a,b){var c=a.i;return null!=c?Np(a,up(c,Ya(sp(c),b))):a};g=yH.prototype;
g.cc=function(){if("h"!=this.F)return!1;var a=this.g,b=ep(this),c=this.i;a.g.ng();UG(a,["jn",b,c,"v","s",{unsignalledRecvStreams:10}]);var a=this.M,b=[this.P],c=[this.da],d=[Sp(this.ba,"")];null!=a.g&&(a=Mp(a,Ap(a.g,b)));null!=a.i&&(a=Np(a,Ap(a.i,c)));null!=a.m&&(a=Op(a,Ap(a.m,d)));b=this.g;c=["jlrtp",ep(this),this.i,mG(b.i,a)];UG(b,c);null!=a.aa()&&(this.i=a.aa());zH(this,"i");return!0};
g.start=function(a){if("i"!=this.F)return!1;null!=a.g&&1<vp(a.g).length&&(a=Mp(a,wp(a.g,[vp(a.g)[0]])));null!=a.i&&1<vp(a.i).length&&(a=Np(a,wp(a.i,[vp(a.i)[0]])));null!=a.m&&1<vp(a.m).length&&(a=Op(a,wp(a.m,[vp(a.m)[0]])));var b=this.g,c=ep(this),d=this.i,e;e=pH(b,a);c=["jrtp",c,d,mG(b.i,e)];UG(b,c);b=ep(this);UG(this.g,["ja",b,this.i]);this.N=this.N&&a.J;a="RemoteSessionId: "+a.aa();UG(this.g,["comment",a]);this.la.K&&(iF(this.g,ep(this),this.i,"o","pre-call"),iF(this.g,ep(this),this.i,"q","pre-call"));
zH(this,"k");this.ed(this.S);for(a=0;a<this.U.length;a++)b=this.U[a],$G(this.g,ep(this),this.i,b);this.g.g.Xh()&&$G(this.g,ep(this),this.i,[this.P]);fb(this.U);return!0};g.update=function(a){switch(this.F){case "h":return!1;case "m":return!1}a=EH(this,a);var b=this.g;a=["jrtp",ep(this),this.i,oG(b.i,a)];UG(b,a);return!0};g.stop=function(a,b){if("m"==this.F)return!1;zH(this,"m",a,b);var c=ep(this);UG(this.g,["jt",c,this.i,this.K]);return!0};
g.connect=function(){var a=ep(this);UG(this.g,["sessionconnect",a,this.i])};g.rh=function(){if("k"!=this.getState())return!1;x(this.G,function(a){a.Ra("g")});YG(this.g,ep(this),this.i);zH(this,"l");return!0};g.th=function(){if("l"!=this.getState())return!1;ZG(this.g,ep(this),this.i);zH(this,"k");x(this.G,function(a){a.Ra("f")});return!0};g.Md=function(){if(!this.la.g){var a=ep(this);UG(this.g,["uploadlog",a,this.i])}};
g.Df=function(a){var b=this.g,c=ep(this),d=b.i;a=["jc",c,this.i,y(a,d.pi,d)];UG(b,a)};g.nh=function(a){var b=a.g;switch(this.F){case "m":case "n":return null}var c=this.Ef(b.sa());if(null==c)return null;a.If(this.i);return new Qp(b.sa(),b.Y(),b.getId(),c.g,c.Va(),B(c.m))};g.sh=function(a){switch(this.F){case "h":return;case "m":return}var b=a.g;iF(this.g,ep(this),this.i,b.sa(),"removal");a.ye(this.i)};
g.gg=function(a,b){switch(this.F){case "h":return[];case "m":return[]}var c=Ya(a,function(a){return"o"!=a.fa()?!0:this.pa},this),c=lb(c,y(b,function(a){return new Qp(a.fa(),a.Y(),a.i,a.g,[],[])},this));if(0<c.length)switch(this.F){case "i":this.U.push(c);default:$G(this.g,ep(this),this.i,c)}x(b,this.Ba,this);return y(a,this.za,this)};
g.ed=function(a){var b=!1;switch(this.F){case "k":b=!0;break;case "m":return}this.S=lb(Ya(this.S,function(b){return-1==bb(a,function(a){return Py(b,a)})},this),Ya(a,function(a){return a.tc},this));b&&(b=Ya(y(this.S,function(a){var b=this.Ef(a.fa());return null!=b?a.Ac(b.g):null},this),ha),this.g.Xb(ep(this),this.i,b))};var eB=function(a,b){a.H={};x(b,function(a){if(a.tc){var b=a.Y();this.H[b]=this.H[b]||{};this.H[b][a.i]=!0}},a);x(a.G,a.ua,a)};
yH.prototype.ua=function(a){var b=this.H[a.Y()],b=b&&b[a.u]||!1;b!=a.g&&(a.g=b,a.dispatchEvent("W"))};yH.prototype.vg=function(a){return db(this.G,function(b){return Up(b.getInfo(),a)},this)};yH.prototype.qh=function(){return this.G};yH.prototype.oh=function(a){var b=this.g,c=ep(this),d=this.i;if(b.g.Qh()){var e="rs",f="av";a||(f=e="");UG(b,["debug",c,d,"mgl",{type:f,direction:e}])}};
var EH=function(a,b){var c=b.g,d=sp(c),e=bb(d,function(a){return 0==Aa(a.getName(),"OPUS")});-1!=e&&(!a.wa&&1<d.length?ib(d,e):d[e]=Qo(Qo(Qo(d[e],"stereo","0"),"useinbandfec","0"),"usedtx","0"),c=up(c,d));return Mp(b,c)};
yH.prototype.uh=function(a){if(null!=a&&null!=a.g){a=Op(Np(EH(this,a),null),null);var b=this.g,c=["setcalloptions",ep(this),this.i,{audio_echo_cancellation:!0,audio_auto_gain_control:!0,audio_noise_suppression:!0,audio_highpass_filter:!0,audio_stereo_swapping:!1,audio_transient_suppression:!0}];UG(b,c);b=this.g;a=["jrtp",ep(this),this.i,oG(b.i,a)];UG(b,a)}};yH.prototype.Ef=function(a){switch(a){case "o":return this.P;case "q":return this.da;case "p":return this.ba}return null};yH.prototype.Sh=function(){return this.g.g.Ic()};
yH.prototype.Rh=function(){return this.g.g.Ic()};var AH=function(a,b){var c=[],d=1;x(b,function(a){var b=null,h="";switch(a){case "AES_CM_128_HMAC_SHA1_32":b="AES_CM_128_HMAC_SHA1_32";h=FH(this);break;case "AES_CM_128_HMAC_SHA1_80":b="AES_CM_128_HMAC_SHA1_80",h=FH(this)}null!=b&&(c.push(new Uo(b,h,null,d)),d++)},a);return c},FH=function(a){a=TG(a.g,Math.ceil(30));return"inline:"+Ec(a)},BH=function(a,b){var c=Ec(TG(a.g,12)),d=Ec(TG(a.g,18));return new np(b,c,d)};
yH.prototype.za=function(a){a=new wH(this,a);this.ua(a);this.G.push(a);return a};yH.prototype.Ba=function(a){var b=bb(this.G,function(b){return Tp(b.getInfo(),a)},this);if(-1!=b){var c=this.G[b];ib(this.G,b);c.Ra("g")}};var CH=function(a,b){for(var c=[],d=0;d<b;d++)c.push(Rh(a.ya));return c},GH=function(a,b){switch(b){case "1":return null!=a.O&&6E4<a.O-a.Z?42:a.la.g?55:27;case "4":return 19;case "102":return 102;case "58":return 58;case "57":return 57;default:return 3}};g=yH.prototype;
g.zj=function(a){a.sessionId==this.i&&this.dispatchEvent(new gp(a.g))};g.xj=function(a){a.sessionId==this.i&&this.dispatchEvent(new fp(a.g,a.m))};g.yj=function(a){a.sessionId==this.i&&this.dispatchEvent(new hp(a.message))};g.Bj=function(a){a.sessionId==this.i&&(x(Vn(a.g),function(a){I(a,24)==Yn.li&&I(a,1)==Xn.mi&&J(a,59,this.W)},this),this.dispatchEvent(new ip(a.g)))};g.Aj=function(a){a.sessionId==this.i&&this.dispatchEvent(new jp(a.m,this.K))};
g.vj=function(a){a.sessionId==this.i&&this.stop(GH(this,a.errorCode),a.m)};g.wj=function(a){this.stop(GH(this,a.errorCode))};g.uj=function(a){this.stop(a.g)};g.Rk=function(a){if(a.sessionId==this.i)switch(a.g){case "ob":this.W=!0;break;case "mb":case "pb":case "nb":this.W=!1}};g.Cj=function(a){this.i==a.sessionId&&this.stop(a.g)};g.yk=function(a){if(a.sessionId==this.i){var b=this.M.g;a=pp(op(b.g,a.Sc),a.Nc);this.M=Mp(this.M,yp(b,a))}};
g.Ak=function(a){a.sessionId==this.i&&null!=a.g&&(I(a.g,2)&&(this.O=u(),null==this.Z&&(this.Z=this.O)),this.dispatchEvent(new lp(!!I(a.g,2))))};g.Qk=function(a){this.i==a.sessionId&&this.dispatchEvent(new kp(a.tb,a.payload))};g.Ff=function(){var a=PG(this.g).i,b=RG(this.g),c=new Fo;M(c,7,a);M(c,8,b);return c};g.Ih=function(a){UG(this.g,["comment",a])};
var HH=function(a){OE.call(this);this.F=new U(this);this.m(this.F);this.H=a;this.F.listen(this.H,"qb",this.G)};v(HH,OE);HH.prototype.G=function(a){if(null!=(this.g||null)&&null!=(this.g||null).Ha()){var b=(this.g||null).Ha();if(b instanceof eF)QE(this,a.g.g);else if(b.aa()==a.sessionId){for(var b=b.getInfo().Va(),c=0;c<b.length;c++){var d=Nb(a.g.i)[b[c]];if(null!=d){QE(this,d);return}}QE(this,0)}}else QE(this,0)};
var IH=function(a){this.g=a;this.F=this.i=0;this.m={};var b={Hd:100,le:t(this.l,this,"/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav")};this.G={Ua:{Hd:4E3,le:t(this.l,this,a.g.Ic()?"/chat/sounds/video_call_outgoing_ring_8944c6953f0bc3ce7c365e264dda44be.mp3":"/chat/sounds/video_call_outgoing_ring_8k_mono_ab4c8dc0cea31ed5c6f80b8651e61781.wav")},Wa:b,Xa:b,Ya:b,Za:b,$a:b,ab:b,bb:b,cb:b,db:b,eb:b,jb:b,kb:b,lb:{Hd:2E3,le:t(this.l,this,a.g.Ic()?"/chat/sounds/hangout_knock_881771fd440d904a68b325d9ea8f31a6.mp3":
"/chat/sounds/hangout_knock_8k_mono_f15a4cbfb77dbcba2277783597366870.wav")},mb:{Hd:4E3,le:Rd(t(this.g.N,this.g,"audioplayer@talk.google.com","audioplayer"))}}};v(IH,Oz);IH.prototype.J=function(a){var b=this.G[a];if(null!=b){var c=yg();this.i++;1==this.i&&WG(this.g);(b.le(b.Hd)||sg()).then(function(){V(function(){V(this.u,1E3,this);c.g()},b.Hd,this)},function(a){c.m(a)},this);return c.i}return tg("Unsupported clip")};
IH.prototype.loop=function(a){var b=yg(),c=!1,d=null,e=t(function(){c||(d=this.J(a),d.then(e,t(b.m,b)))},this);e();Cg(b.i,function(){c=!0;d&&d.J()});return b.i};IH.prototype.u=function(){this.i--;if(0==this.i){var a=this.g;UG(a,["micoff","audioplayer@talk.google.com","audioplayer"]);UG(a,["jt","audioplayer@talk.google.com","audioplayer",0])}};
IH.prototype.l=function(a,b){var c=yg();JH(this,a).then(function(a){var e="sc"+this.F++;Cg(c.i,function(a){a instanceof Dg&&VG(this.g,{id:"play_audio",action:"disable",dir:"rx",effect_handle:e})},this);VG(this.g,{id:"play_audio",action:"init",dir:"rx",effect_handle:e,properties:{resource:{key:e,data_uri:a,type:"audio"}}});VG(this.g,{id:"play_audio",action:"enable",dir:"rx",effect_handle:e,properties:{loop:!1,mute_with_mic:!1,volume:1,reset:!0}});c.g();V(function(){VG(this.g,{id:"play_audio",action:"remove",
dir:"rx",effect_handle:e})},b+500,this)},function(a){c.m(a)},this);return c.i};
var JH=function(a,b){if(null==a.m[b]){var c=b.split("."),d=c.length?c[c.length-1]:"wav",d=d.toLowerCase(),e=yg();a.m[b]=e.i;var f=bl($k);l(f.responseType)&&l(window.Uint8Array)?(f.open("GET","https://ssl.gstatic.com"+b,!0),f.responseType="arraybuffer",f.onreadystatechange=t(function(){4==f.readyState&&(f.onreadystatechange=da,200==f.status?e.g("data:audio/"+d+";base64,"+Ec(new window.Uint8Array(f.response))):(e.m("Failed to get audio: "+b+" "+f.status),delete this.m[b]))},a)):e.m("Browser does not support binary XHR"); f.send(null)}return a.m[b]};
var KH=function(a,b,c){this.l=a;this.i=yg();this.g=!1;if(($b||ac)&&k.navigator&&(navigator.mimeTypes[b]||navigator.plugins.refresh(),navigator.mimeTypes[b])){this.g=!0;var d=this.l.xg("OBJECT",{style:"height:10px;width:10px;top:0;left:0;position:absolute;",type:b});this.l.g.documentElement.appendChild(d);Bg(this.i.i,function(){sf(d)});this.m(d,c)}this.g||this.i.g()};KH.prototype.then=function(a,b,c){return this.i.i.then(a,b,c)};KH.prototype.ef=function(){return this.g}; KH.prototype.m=function(a,b){a.parentNode&&(null!=a[b]?(this.g=!1,this.i.g()):Og(100).then(t(this.m,this,a,b)))};
var LH=function(a){Hy.call(this,a);this.l=this.g=null};v(LH,Hy);Qj(LH,Hy,2);var MH={ah:.1,Vh:.65,Uh:.85},NH={ah:.1,Vh:.75,Uh:.9};g=LH.prototype;g.sd=function(a){if(null==this.l){var b=yg();this.l=b.i;Cg(this.l,function(){this.l=null},this);var c=this.Ia.get(Ue).g,d=[];!a.hg&&null!=a.hg||d.push(new KH(c,"application/googletalk","version"));a.ti&&d.push(new KH(c,"application/o1d","frameCount"));$a(d,function(a){return a.ef()})?(this.m.g(3),b.g(3),wg(d).then(t(this.Fg,this,b))):this.Fg(b)}return this.l};
g.Bb=function(){return null!=this.g};g.Fd=function(){return null!=this.g?new qH(this.g):null};g.Jd=function(a,b,c){if(null!=this.g){var d=new Qh;a=new yH(a,this.g,d,b,c);this.J(a);return a}return null};g.rd=function(){return null!=this.g?new HH(this.g):null};g.Ed=function(){return null!=this.g?new IH(this.g):null};
g.Fg=function(a){zj(this.Ia,vu,!0).then(function(b){var c={appName:I(b,3),buildLabel:I(b,4),allowConcurrentSessions:"true",cams:OH(L(K(b,vi,17),xi,3)||[])},d=Zj.Pa(),e=this.Ia,f=I(b,7);var h=(new df(!0)).g,m=I(b,15),n,r;n=new Ui;n.register(e);r=new Nj(e);b=m||n.u;n.H&&jb(b,"wvlb");b.push("poc");d=d.Ja.g(e,f,c,n,r,h,m);null!=d?c=d:(d=zc&&r.g("pac"),c=new $h(f,h,c,b,d));c.Kb();this.u(c,a)},null,this)};
var OH=function(a){return Ya(y(a,function(a){var c={};if(ya(I(a,1)||"")){if(ya(a.getName()||""))return null;c.name=a.getName()}else c.usbid=I(a,1);null!=I(a,3)&&(c.w=I(a,3));null!=I(a,4)&&(c.h=I(a,4));null!=I(a,5)&&(c.fps=I(a,5));return c}),ha)};
LH.prototype.u=function(a,b){switch(a.Re()){case 1:Xi(this.Ia,Xf,a);this.g=new QG(a);var c=wu(this.Ia);if(a.Fc(wi(K(c,vi,17))||"0")){var c=wu(this.Ia),c=new qk(ta(z,I(c,14))),d=a.pb(),e;var f=d[4],h=f.transports;if(null==h)e=null;else{var m=!1,n=!1;for(e=0;e<h.length;e++)switch(h[e]){case "i":m=!0;break;case "r":n=!0}if(m||n){var h=!!f.rtcpMux,r=[],m=[],n=f.audioCodecs;for(e=0;e<n.length;e++)r.push([]);f=f.videoCodecs;for(e=0;e<f.length;e++)m.push([]);e=new Vh(n,f,h)}else e=null}if(null!=e){d=d[4];
e=d.caps;f=d.cpuFlags;if(null!=f){for(m=h=0;m<f.length;m++)h|=Th.get(f[m],0);f=h}else f=d.cpuHasSSE2,f=null!=f?f?2:0:-1;d=new Sh(e,d.cpuArchitecture,d.cpus,d.cpuVendor,d.cpuFamily,d.cpuModel,f,d.o3dVersion,d.os,d.machineModel)}else d=null;a.xc(Ak(zk(c,d)));this.m.g(7);b.g(7)}else this.m.g(1),b.m(1);break;case 4:this.m.g(1);b.m(1);break;case 2:this.m.g(2);b.m(2);break;default:a.ef()&&this.m.g(3),Ed(a,"m",t(this.u,this,a,b))}};
LH.prototype.J=function(a){switch(a.getState()){case "j":case "k":var b=MH;4<=(I(RG(this.g),6)||1)&&(b=NH);var c=this.g,d=ep(a);a=a.aa();UG(c,["setcalloptions",d,a,{video_process_adaptation_threshhold:b.ah,video_system_low_adaptation:b.Vh,video_system_high_adaptation:b.Uh}]);break;case "m":case "n":break;default:a.J||Ed(a,"I",t(this.J,this,a))}};
var PH=function(a,b){this.i=a;this.g=b;this.m={Ua:"//ssl.gstatic.com/chat/sounds/video_call_outgoing_ring_8944c6953f0bc3ce7c365e264dda44be.mp3",Wa:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",Xa:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",Ya:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",Za:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",
$a:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",ab:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",bb:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",cb:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",db:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",eb:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",
jb:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",kb:"//ssl.gstatic.com/chat/sounds/hangout_dtmf_click_9629c9a5b555e421de741170532c1142.wav",lb:"//ssl.gstatic.com/chat/sounds/hangout_knock_517c3ddabc5c6e4ac32e25ab361807a9.ogg",mb:"//ssl.gstatic.com/chat/sounds/outgoing_ring_08d6076c4e21ce2f30d739a53ef1c609.ogg"}};v(PH,Oz);PH.prototype.J=function(a){return QH(this,a,!1)};PH.prototype.loop=function(a){return QH(this,a,!0)};
var QH=function(a,b,c){b=a.m[b];if(null!=b){var d=yg(),e=a.i.createElement("audio");e.autoplay=!0;e.loop=c;e.onplay=t(a.g.ob,a.g);e.onended=t(d.g,d);e.onerror=t(d.m,d);e.src=b;Cg(d.i,function(a){a instanceof Dg&&e.pause()});return d.i}return tg("Unsupported clip")};
var SH=function(a){Hy.call(this,a);this.l=RH(this.Ia);this.g=new LH(a)};v(SH,Hy);Qj(SH,Hy,3);g=SH.prototype;g.sd=function(){if(this.l){var a=yg();this.g.sd({hg:!1,ti:!1}).then(function(b){7==b?(pl=I(wu(this.Ia),11),a.g(TH())):a.g(b)},t(a.m,a),this);return a.i}return null};
g.ne=function(a,b,c,d,e){var f=this.m.i;switch(f){case 0:return null;case 4:case 5:case 6:var h=yg(),m=(new UH({audio:a,video:b},c,d)).u;Cg(h.i,function(){m.J()});m.then(function(a){var b=a.getAudioTracks();a=a.getVideoTracks();x(lb(b,a),function(a){a.stop()});"http:"==window.location.protocol?h.g(7):h.g(TH());UG(this.g.g,gG(e))},function(a){h.m(a)},this);return h.i;default:return sg(f)}};g.Bb=function(){return this.l?this.g.Bb():null};g.Fd=function(){return this.Bb()?this.g.Fd():null};
g.Jd=function(a,b,c){return this.Bb()?this.g.Jd(a,b,c):null};g.rd=function(){return this.Bb()?this.g.rd():null};g.Ed=function(){if(this.Bb()){var a=this.Ia.get(Xf),b=this.Ia.get(Ue).g;return new PH(b,a)}return null};
var TH=function(){var a=yg();MediaStreamTrack.getSources(function(b){for(var c=0,d=!1,e=0,f=!1,h=0;h<b.length;h++)"audio"==b[h].kind?(c++,d=d||!ya(La(b[h].label))):"video"==b[h].kind&&(e++,f=f||!ya(La(b[h].label)));d=d||0==c;f=f||0==e;d||f?d?f?a.g(7):a.g(4):a.g(5):a.g(6)});return a.i},RH=function(a){var b=["fp","pp","hnmn","hrfp"];a=a.get(Ue).g;return Tk(mf(a.g),function(a){return!z(b,a)})},VH=function(){};v(VH,ak);Qj(VH,ak);
VH.prototype.g=function(a,b,c,d,e,f,h){e=a.get(Ue).g;return RH(a)?(f=new kr(d,e,a,b),new Au(a,b,c,d,f,void 0,e,null,h)):null};var UH=function(a,b,c){this.G=a;this.M=b||da;this.H=c||da;this.g=yg();this.u=this.g.i;this.m=this.l=this.J=!1;Bg(this.u,function(){this.J=!0},this);this.i=null;this.F()};UH.prototype.F=function(){this.J||(this.i=V(function(){this.m=!1;this.l=!0;this.M()},500,this),navigator.webkitGetUserMedia(this.G,t(this.K,this),t(this.T,this)))};UH.prototype.K=function(a){Ng(this.i);this.g.g(a)}; UH.prototype.T=function(a){Ng(this.i);"PermissionDeniedError"!=a.name&&"PermissionDismissedError"!=a.name?this.g.m(a):this.l?this.g.m(a):(this.m||(this.m=!0,this.H()),V(this.F,1E3,this))};
var $H=function(a,b){var c=b||{},d=c.document||document,e=document.createElement("SCRIPT"),f={vb:e,Sd:void 0},h=new D(WH,f),m=null,n=null!=c.timeout?c.timeout:5E3;0<n&&(m=window.setTimeout(function(){XH(e,!0);h.g(new YH(1,"Timeout reached for loading script "+a))},n),f.Sd=m);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(XH(e,c.Nn||!1,m),h.ma(null))};e.onerror=function(){XH(e,!0,m);h.g(new YH(0,"Error while loading script "+a))};f=c.attributes||
{};Rb(f,{type:"text/javascript",charset:"UTF-8",src:a});kf(e,f);ZH(d).appendChild(e);return h},ZH=function(a){var b=a.getElementsByTagName("HEAD");return!b||eb(b)?a.documentElement:b[0]},WH=function(){if(this&&this.vb){var a=this.vb;a&&"SCRIPT"==a.tagName&&XH(a,!0,this.Sd)}},XH=function(a,b,c){null!=c&&k.clearTimeout(c);a.onload=da;a.onerror=da;a.onreadystatechange=da;b&&window.setTimeout(function(){sf(a)},0)},YH=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);ua.call(this,c);this.code= a};v(YH,ua);
var aI=function(a,b,c,d){this.m=a;this.i=b;this.l=Nb(c||{});this.g=d||window};aI.prototype.load=function(a,b){$H(this.m,{document:this.g.document}).then(t(function(){var c=ca("gapi",this.g);c.load("client",{callback:t(function(c){Ab(this.l,function(a,b){ca("config.update",c)(b,a)});null!=this.i&&ca("client.setApiKey",c)(this.i);a(c);b&&xd(this.g,"unload",b)},this,c)})},this))};
var bI=/^(hangouts|.+\.hangouts\.sandbox|(.+\.)*talkgadget|plus|mail|plus\.sandbox|.+\.corp)\.google\.com\.?$/,cI=/^((.+\.)*.+\.corp|.+\.prod)\.google\.com\.?$/;ba("gewMain",function(a,b,c){var d=dI(a),e=new tj;Pw(e);Uw(e);Lg=da;var f=window.location.href;a=ih(f,"authuser");f=ih(f,"eid");b=new Bi(Hc(b));b=eI(e,b,a,f);var h=new uu(b,Hc(c));h.register(e);var m=By(e);Bg(Dy(m),function(){d.connect(function(){new Wu(d,I(h,7));new $E(e,d)});Fy(m)})},void 0);
var dI=function(a){var b=Gc(a),b=b.substring(0,Math.floor(3*a.length/4));a=Hc(b);var c=new jh(a.lpu),b=c.i,c=c.g,d="https"==c&&bI.test(b);if(d=d||"http"==c&&cI.test(b))return new mE(a);throw Error("Origin failed for hangout frame. Host: "+b);},eI=function(a,b,c,d){var e=K(b,Ci,4),f=I(e,1)||"https://clients6.google.com";c=new aI(I(b,2),I(b,1)||"",{"googleapis.config/root":f,"googleapis.config/root-1p":f,"googleapis.config/proxy":null,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/sessionIndex":Number(c)|| 0});Xi(a,Qx,new Rx(c,void 0));null!=d&&(null!=Sx||(Sx=new S),Sx.set("X-Goog-PageId",d));return new Yx(a.get(Qx),I(e,3)||"hangouts",I(e,2)||"v1",I(b,1)||"",f)};

}catch(e){_DumpException(e)}
// Google Inc.
